winecfg: Remove unneeded casts
Francois Gouget
fgouget at free.fr
Thu Jun 30 05:19:12 CDT 2005
Changelog:
* programs/winecfg/audio.c
Francois Gouget <fgouget at free.fr>
Remove unneeded casts
--
Francois Gouget fgouget at free.fr http://fgouget.free.fr/
Linux, WinNT, MS-DOS - also known as the Good, the Bad and the Ugly.
-------------- next part --------------
Index: programs/winecfg/audio.c
===================================================================
RCS file: /var/cvs/wine/programs/winecfg/audio.c,v
retrieving revision 1.11
diff -u -p -r1.11 audio.c
--- programs/winecfg/audio.c 28 Jun 2005 19:12:52 -0000 1.11
+++ programs/winecfg/audio.c 30 Jun 2005 09:42:15 -0000
@@ -89,8 +89,8 @@ static void configureAudioDriver(HWND hD
DRVCONFIGINFO dci;
LONG lRes;
dci.dwDCISize = sizeof (dci);
- dci.lpszDCISectionName = (LPWSTR)0;
- dci.lpszDCIAliasName = (LPWSTR)0;
+ dci.lpszDCISectionName = NULL;
+ dci.lpszDCIAliasName = NULL;
lRes = SendDriverMessage(hdrvr, DRV_CONFIGURE, 0, (LONG)&dci);
}
CloseDriver(hdrvr, 0, 0);
More information about the wine-patches
mailing list