HeapAlloc cast
Jakob Eriksson
jakov at vmlinux.org
Tue Mar 22 09:52:38 CST 2005
-------------- next part --------------
Index: dlls/comctl32/commctrl.c
===================================================================
RCS file: /home/wine/wine/dlls/comctl32/commctrl.c,v
retrieving revision 1.90
diff -u -r1.90 commctrl.c
--- dlls/comctl32/commctrl.c 4 Jan 2005 20:39:55 -0000 1.90
+++ dlls/comctl32/commctrl.c 22 Mar 2005 15:52:03 -0000
@@ -1106,7 +1106,7 @@
stack = (LPSUBCLASS_INFO)GetPropA (hWnd, COMCTL32_aSubclass);
if (!stack) {
/* allocate stack */
- stack = (LPSUBCLASS_INFO)HeapAlloc (GetProcessHeap(), HEAP_ZERO_MEMORY,
+ stack = HeapAlloc (GetProcessHeap(), HEAP_ZERO_MEMORY,
sizeof(SUBCLASS_INFO));
if (!stack) {
ERR ("Failed to allocate our Subclassing stack\n");
More information about the wine-patches
mailing list