From c6dffb6df8578733c69fb35fd8d9079e091b3880 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Wed, 17 Jun 2009 20:53:46 +0200 Subject: [PATCH] kernel32: Fix the HGLOBAL header size for 64-bit. --- dlls/kernel32/heap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/kernel32/heap.c b/dlls/kernel32/heap.c index c78c7628f5c..93cf545308b 100644 --- a/dlls/kernel32/heap.c +++ b/dlls/kernel32/heap.c @@ -320,7 +320,7 @@ BOOL WINAPI HeapSetInformation( HANDLE heap, HEAP_INFORMATION_CLASS infoclass, P * size = 8*k, where k=1,2,3,... alloc's exactly the given size. * The Minolta DiMAGE Image Viewer heavily relies on this, corrupting * the output jpeg's > 1 MB if not */ -#define HGLOBAL_STORAGE 8 /* sizeof(HGLOBAL)*2 */ +#define HGLOBAL_STORAGE (sizeof(HGLOBAL)*2) #include "pshpack1.h"