[janitor] dlls/dinput -Wwrite-strings cleanup

Daniel Marmier d.marmier at bluewin.ch
Mon Oct 6 15:45:27 CDT 2003


Fixed warnings with gcc option "-Wwrite-strings".

-------------- next part --------------
Index: dlls/dinput/device.c
===================================================================
RCS file: /home/wine/wine/dlls/dinput/device.c,v
retrieving revision 1.15
diff -u -r1.15 device.c
--- dlls/dinput/device.c	5 Sep 2003 23:08:40 -0000	1.15
+++ dlls/dinput/device.c	6 Oct 2003 20:33:49 -0000
@@ -45,7 +45,7 @@
   int   i;
   const struct {
     DWORD       mask;
-    char        *name;
+    const char  *name;
   } flags[] = {
 #define FE(x) { x, #x},
     FE(DISCL_BACKGROUND)
@@ -64,7 +64,7 @@
   int   i;
   const struct {
     DWORD       mask;
-    char        *name;
+    const char  *name;
   } flags[] = {
 #define FE(x) { x, #x},
     FE(DIDFT_ABSAXIS)


More information about the wine-patches mailing list