+#define ALIGN(ptr,n) ((void *)((intptr_t)(ptr) & (~(unsigned long)(n-1))))
This should be +#define ALIGN(ptr,n) ((void *)((uintptr_t)(ptr) & (~(uintptr_t)(n-1)))) Tommy On Mar 18, 2010, at 17:57 , Ramiro Polla wrote: > $subj > <0002-Do-not-misuse-long-and-long-long-for-64-bit-ints.patch>------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev_______________________________________________ > Schrodinger-devel mailing list > Schrodinger-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/schrodinger-devel ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Schrodinger-devel mailing list Schrodinger-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/schrodinger-devel