preparatory patch for -Wwrite-strings #1

This commit is contained in:
Denis Vlasenko
2007-01-29 22:51:00 +00:00
parent e935602ff5
commit a41fdf331a
17 changed files with 59 additions and 52 deletions

View File

@@ -22,7 +22,7 @@ int yes_main(int argc, char **argv)
const char *fmt;
char **first_arg;
*argv = "y";
*argv = (char*)"y";
if (argc != 1) {
++argv;
}