mmsystem.dll: De-constify a variable

Andrew Talbot andrew.talbot at
Sat Dec 1 16:12:27 CST 2012

The buffer referenced by the lpFileName parameter might require modification via the local pointer ptr.


    mmsystem.dll: De-constify a variable.

diff --git a/dlls/mmsystem.dll16/driver.c b/dlls/mmsystem.dll16/driver.c
index b18cdcb..d35af7d 100644
--- a/dlls/mmsystem.dll16/driver.c
+++ b/dlls/mmsystem.dll16/driver.c
@@ -203,7 +203,7 @@ static	BOOL	DRIVER_AddToList(LPWINE_DRIVER lpNewDrv, LPARAM lParam1, LPARAM lPar
  * Tries to load a 16 bit driver whose DLL's (module) name is lpFileName.
-static	LPWINE_DRIVER	DRIVER_TryOpenDriver16(LPCSTR lpFileName, LPARAM lParam2)
+static	LPWINE_DRIVER	DRIVER_TryOpenDriver16(LPSTR lpFileName, LPARAM lParam2)
     static	WORD	DRIVER_hDrvr16Counter /* = 0 */;

More information about the wine-patches mailing list