[janitor] dlls/dinput -Wwrite-strings cleanup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

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)

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux