X-Git-Url: http://git.buserror.net/cgi-bin/gitweb.cgi?p=polintos%2Fscott%2Fpriv.git;a=blobdiff_plain;f=idlcomp%2Fmain.cc;h=c21532ead39b7c2847f34dc9f8901e28fb4ad6a7;hp=a38319fc93e4fb943997f66c4d99a7d7fb0cd96d;hb=5d151caf35ee9a990dda9a3af370ca30a8b7f638;hpb=bc696ad9b0d5a2ad04e2de5ad8b89f746dd78491 diff --git a/idlcomp/main.cc b/idlcomp/main.cc index a38319f..c21532e 100644 --- a/idlcomp/main.cc +++ b/idlcomp/main.cc @@ -797,7 +797,7 @@ extern "C" int yywrap() extern char *yytext; -void idl_error(char *s) +void idl_error(const char *s) { if (strlen(yytext)) fprintf(stderr, "%s:%d: %s at \"%s\".\n", cur_input_file, curline, s, yytext);