Andrew Talbot : kernel32: Revert the removal of a cast from a macro.
Alexandre Julliard
julliard at winehq.org
Fri Dec 21 07:28:25 CST 2007
Module: wine
Branch: master
Commit: 4a35f62deb58b03b8d6efa608e8d7f5830422847
URL: http://source.winehq.org/git/wine.git/?a=commit;h=4a35f62deb58b03b8d6efa608e8d7f5830422847
Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date: Thu Dec 20 18:20:15 2007 +0000
kernel32: Revert the removal of a cast from a macro.
---
dlls/kernel32/local16.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/kernel32/local16.c b/dlls/kernel32/local16.c
index 5716281..e250d84 100644
--- a/dlls/kernel32/local16.c
+++ b/dlls/kernel32/local16.c
@@ -133,7 +133,7 @@ typedef struct
/* All local heap allocations are aligned on 4-byte boundaries */
#define LALIGN(word) (((word) + 3) & ~3)
-#define ARENA_PTR(ptr,arena) ((LOCALARENA *)((ptr)+(arena)))
+#define ARENA_PTR(ptr,arena) ((LOCALARENA *)((char *)(ptr)+(arena)))
#define ARENA_PREV(ptr,arena) (ARENA_PTR((ptr),(arena))->prev & ~3)
#define ARENA_NEXT(ptr,arena) (ARENA_PTR((ptr),(arena))->next)
#define ARENA_FLAGS(ptr,arena) (ARENA_PTR((ptr),(arena))->prev & 3)
More information about the wine-cvs
mailing list