Remove unneeded cast

Francois Gouget fgouget at free.fr
Wed Jan 26 06:28:54 CST 2005


Changelog:

  * dlls/dmscript/script.c

    Remove unneeded NULL cast.


-- 
Francois Gouget         fgouget at free.fr        http://fgouget.free.fr/
         War doesn't determine who's right.  War determines who's left.
-------------- next part --------------
Index: dlls/dmscript/script.c
===================================================================
RCS file: /var/cvs/wine/dlls/dmscript/script.c,v
retrieving revision 1.17
diff -u -p -r1.17 script.c
--- dlls/dmscript/script.c	24 Jan 2005 11:31:45 -0000	1.17
+++ dlls/dmscript/script.c	24 Jan 2005 13:40:18 -0000
@@ -684,7 +684,7 @@ HRESULT WINAPI DMUSIC_CreateDirectMusicS
   
   obj = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(IDirectMusicScriptImpl));
   if (NULL == obj) {
-    *ppobj = (LPVOID) NULL;
+    *ppobj = NULL;
     return E_OUTOFMEMORY;
   }
   obj->UnknownVtbl = &DirectMusicScript_Unknown_Vtbl;


More information about the wine-patches mailing list