[PATCH] winmm: remove superfluous void* cast

Marcin Baczyński marbacz at gmail.com
Wed Jan 6 16:38:32 CST 2010


---
 dlls/winmm/lolvldrv.c |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/dlls/winmm/lolvldrv.c b/dlls/winmm/lolvldrv.c
index 1c5e06b..2a2a945 100644
--- a/dlls/winmm/lolvldrv.c
+++ b/dlls/winmm/lolvldrv.c
@@ -412,11 +412,11 @@ static  BOOL	MMDRV_InitPerType(LPWINE_MM_DRIVER lpDrv, UINT type, UINT wMsg)
 	  lpDrv->drvname, llTypes[type].typestr);
     /* realloc translation table */
     if (llTypes[type].lpMlds)
-        llTypes[type].lpMlds = (LPWINE_MLD)
+        llTypes[type].lpMlds =
 	HeapReAlloc(GetProcessHeap(), 0, llTypes[type].lpMlds - 1,
 		    sizeof(WINE_MLD) * (llTypes[type].wMaxId + 1)) + 1;
     else
-        llTypes[type].lpMlds = (LPWINE_MLD)
+        llTypes[type].lpMlds =
 	HeapAlloc(GetProcessHeap(), 0,
 		    sizeof(WINE_MLD) * (llTypes[type].wMaxId + 1)) + 1;
 
-- 
1.6.6




More information about the wine-patches mailing list