Add missing consts

Fixes char usage introduced in commit
  331faa2217
This commit is contained in:
Larry Doolittle 2008-02-14 15:25:43 -08:00 committed by Stephen Williams
parent b6f26e62df
commit d28fcb8941
1 changed files with 2 additions and 2 deletions

View File

@ -921,7 +921,7 @@ void compile_arith_div(char*label, long wid, bool signed_flag,
assert( wid > 0 );
if (argc != 2) {
char *suffix = "";
const char *suffix = "";
if (signed_flag) suffix = ".s";
fprintf(stderr, "%s; .arith/div%s has wrong number of "
"symbols\n", label, suffix);
@ -1012,7 +1012,7 @@ void compile_arith_pow(char*label, long wid, bool signed_flag,
}
if (argc != 2) {
char *suffix = "";
const char *suffix = "";
if (signed_flag) suffix = ".s";
fprintf(stderr, "%s .arith/pow%s has wrong number of "
"symbols\n", label, suffix);