Fix printf format arg type
This commit is contained in:
parent
d704c69b90
commit
3f6ae400e9
2
config.l
2
config.l
|
@ -43,7 +43,7 @@ WHITE [\t ]*
|
|||
|
||||
{MALSTRING} {
|
||||
yytext[yyleng - 1] = '\0'; /* remove trailing newline */
|
||||
fprintf(stderr, "%s:%d:%d: unterminated string constant: %s\n", config, line, col - yyleng + 1, yytext);
|
||||
fprintf(stderr, "%s:%d:%d: unterminated string constant: %s\n", config, line, (int)(col - yyleng + 1), yytext);
|
||||
return TYPE_MALSTRING;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue