Eliminate HeapAlloc cast

Jakob Eriksson jakov at vmlinux.org
Tue Mar 22 02:34:04 CST 2005


Eliminate HeapAlloc cast
-------------- next part --------------
Index: dlls/ole32/tests/marshal.c
===================================================================
RCS file: /home/wine/wine/dlls/ole32/tests/marshal.c,v
retrieving revision 1.19
diff -u -r1.19 marshal.c
--- dlls/ole32/tests/marshal.c	4 Mar 2005 12:30:47 -0000	1.19
+++ dlls/ole32/tests/marshal.c	22 Mar 2005 08:33:08 -0000
@@ -229,7 +229,7 @@
 {
     DWORD tid = 0;
     HANDLE marshal_event = CreateEvent(NULL, FALSE, FALSE, NULL);
-    struct host_object_data *data = (struct host_object_data *)HeapAlloc(GetProcessHeap(), 0, sizeof(*data));
+    struct host_object_data *data = HeapAlloc(GetProcessHeap(), 0, sizeof(*data));
 
     data->stream = stream;
     data->iid = *riid;


More information about the wine-patches mailing list