[janitor] dlls/msi -Wwrite-strings cleanup

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

 



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

Index: dlls/msi/sql.y
===================================================================
RCS file: /home/wine/wine/dlls/msi/sql.y,v
retrieving revision 1.3
diff -u -r1.3 sql.y
--- dlls/msi/sql.y	8 Sep 2003 19:38:46 -0000	1.3
+++ dlls/msi/sql.y	12 Oct 2003 17:58:39 -0000
@@ -36,7 +36,7 @@
 #define YYLEX_PARAM info
 #define YYPARSE_PARAM info
 
-extern int yyerror(char *str);
+extern int yyerror(const char *str);
 
 WINE_DEFAULT_DEBUG_CHANNEL(msi);
 
@@ -392,7 +392,7 @@
     return atoiW( p );
 }
 
-int yyerror(char *str)
+int yyerror(const char *str)
 {
     return 0;
 }

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

  Powered by Linux