Re: kernel32: Remove unneeded casts

2007-12-20 Thread Robert Shearman
Andrew Talbot wrote: /* All local heap allocations are aligned on 4-byte boundaries */ #define LALIGN(word) (((word) + 3) ~3) -#define ARENA_PTR(ptr,arena) ((LOCALARENA *)((char*)(ptr)+(arena))) +#define ARENA_PTR(ptr,arena) ((LOCALARENA *)((ptr)+(arena))) Don't

RE: kernel32: Remove unneeded casts

2007-12-20 Thread Rolf Kalbermatter
Robert Shearman wrote: Andrew Talbot wrote: /* All local heap allocations are aligned on 4-byte boundaries */ #define LALIGN(word) (((word) + 3) ~3) -#define ARENA_PTR(ptr,arena) ((LOCALARENA *)((char*)(ptr)+(arena))) +#define ARENA_PTR(ptr,arena)