From: Ramiro P. <ram...@gm...> - 2010-03-19 12:48:03
|
On Thu, Mar 18, 2010 at 10:02 PM, Tommy Thorn <tom...@gm...> 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... |