Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/sci In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv15473
Modified Files: molmol.patch Log Message: fix instance of cast from pointer to integer of different size Index: molmol.patch =================================================================== RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/sci/molmol.patch,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- molmol.patch 9 Mar 2009 02:20:52 -0000 1.8 +++ molmol.patch 29 Aug 2009 20:52:07 -0000 1.9 @@ -33,7 +33,7 @@ + +CC = gcc + -+MCFLAGS = -O -bind_at_load ++MCFLAGS = -O -bind_at_load -Wall + +RANLIB = /usr/bin/ranlib + @@ -565,3 +565,14 @@ @@ -0,0 +1,2 @@ +#include <math.h> +#include <limits.h> +--- molmol_orig/src/data/DataDist.c.org 2009-08-29 14:34:52.000000000 -0400 ++++ molmol_orig/src/data/DataDist.c 2009-08-29 14:36:50.000000000 -0400 +@@ -89,7 +89,7 @@ + { + TabEntryInter *entryP = p; + +- return ((unsigned) entryP->atom1P + (unsigned) entryP->atom2P) % size; ++ return ((unsigned)(uintptr_t) entryP->atom1P + (unsigned)(uintptr_t) entryP->atom2P) % size; + } + + static int ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Fink-commits mailing list Fink-commits@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.cvs