[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-patches
Subject:    winecfg: Remove unneeded casts
From:       Francois Gouget <fgouget () free ! fr>
Date:       2005-06-30 10:19:12
Message-ID: Pine.LNX.4.62.0506301218100.25174 () amboise ! dolphin
[Download RAW message or body]

Changelog:

  * programs/winecfg/audio.c

    Francois Gouget <fgouget@free.fr>
    Remove unneeded casts

-- 
Francois Gouget         fgouget@free.fr        http://fgouget.free.fr/
      Linux, WinNT, MS-DOS - also known as the Good, the Bad and the Ugly.
["p20050630-cast.diff" (TEXT/plain)]

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);


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic