On Thu, Mar 18, 2010 at 10:02 PM, Tommy Thorn <tommy.th...@gmail.com> wrote:
> +#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))))

Right... I'm not sending another patch with only this change though...

------------------------------------------------------------------------------
Download Intel&#174; 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

Reply via email to