[janitor] dlls/winmm/wine* -Wwrite-strings cleanup

Jerry Jenkins Jerry_J_Jenkins at hotmail.com
Sat Oct 11 02:42:21 CDT 2003


 > Index: dlls/winmm/winealsa/audio.c
 > ===================================================================
 > RCS file: /home/wine/wine/dlls/winmm/winealsa/audio.c,v
 > retrieving revision 1.20
 > diff -u -r1.20 audio.c
 > --- dlls/winmm/winealsa/audio.c	22 Sep 2003 21:13:33 -0000	1.20
 > +++ dlls/winmm/winealsa/audio.c	7 Oct 2003 19:52:14 -0000
 > @@ -408,11 +408,12 @@
 >      snd_pcm_info_t *            info;
 >      snd_pcm_hw_params_t *       hw_params;
 >      WINE_WAVEOUT*	        wwo;
 > +    char			device[] = "hw";
I think it should be
static char			device[] = "hw";
 >
 >      wwo = &WOutDev[0];
 >
 >      /* FIXME: use better values */
 > -    wwo->device = "hw";
 > +    wwo->device = device;
 >      wwo->caps.wMid = 0x0002;
 >      wwo->caps.wPid = 0x0104;
 >      strcpy(wwo->caps.szPname, "SB16 Wave Out");





More information about the wine-devel mailing list