Alexandre Julliard : kernel32: Fix the HGLOBAL header size for 64-bit.
Alexandre Julliard
julliard at winehq.org
Thu Jun 18 09:11:33 CDT 2009
Module: wine
Branch: master
Commit: c6dffb6df8578733c69fb35fd8d9079e091b3880
URL: http://source.winehq.org/git/wine.git/?a=commit;h=c6dffb6df8578733c69fb35fd8d9079e091b3880
Author: Alexandre Julliard <julliard at winehq.org>
Date: Wed Jun 17 20:53:46 2009 +0200
kernel32: Fix the HGLOBAL header size for 64-bit.
---
dlls/kernel32/heap.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/kernel32/heap.c b/dlls/kernel32/heap.c
index c78c762..93cf545 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"
More information about the wine-cvs
mailing list