Eliminate HeapAlloc cast

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


-------------- next part --------------
Index: dlls/wininet/tests/http.c
===================================================================
RCS file: /home/wine/wine/dlls/wininet/tests/http.c,v
retrieving revision 1.20
diff -u -r1.20 http.c
--- dlls/wininet/tests/http.c	17 Mar 2005 18:55:41 -0000	1.20
+++ dlls/wininet/tests/http.c	22 Mar 2005 08:38:09 -0000
@@ -180,7 +180,7 @@
         if (length)
         {
             char *buffer;
-            buffer = (char*)HeapAlloc(GetProcessHeap(),0,length+1);
+            buffer = HeapAlloc(GetProcessHeap(),0,length+1);
 
             rc = InternetReadFile(hor,buffer,length,&length);
 


More information about the wine-patches mailing list