[janitor] dlls/msi -Wwrite-strings cleanup

Daniel Marmier d.marmier at bluewin.ch
Sun Oct 12 13:10:44 CDT 2003


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

-------------- next part --------------
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;
 }


More information about the wine-patches mailing list