Module: wine Branch: refs/heads/master Commit: d9157a3586424e09e8235fbac879096a336065a2 URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=d9157a3586424e09e8235fba...
Author: Ge van Geldorp ge@gse.nl Date: Tue Jun 20 09:34:48 2006 +0200
kernel32: "base" is a pointer in 16-bit global heap.
---
dlls/kernel/global16.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/kernel/global16.c b/dlls/kernel/global16.c index d0932af..2bf2c49 100644 --- a/dlls/kernel/global16.c +++ b/dlls/kernel/global16.c @@ -50,7 +50,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(global); /* Global arena block */ typedef struct { - DWORD base; /* Base address (0 if discarded) */ + DWORD_PTR base; /* Base address (0 if discarded) */ DWORD size; /* Size in bytes (0 indicates a free block) */ HGLOBAL16 handle; /* Handle for this block */ HGLOBAL16 hOwner; /* Owner of this block */ @@ -155,7 +155,7 @@ HGLOBAL16 GLOBAL_CreateBlock( WORD flags
/* Fill the arena block */
- pArena->base = (DWORD)ptr; + pArena->base = (DWORD_PTR)ptr; pArena->size = GetSelectorLimit16(sel) + 1; pArena->handle = (flags & GMEM_MOVEABLE) ? sel - 1 : sel; pArena->hOwner = hOwner;