diff options
Diffstat (limited to 'hw/dmx/config/scanner.l')
-rw-r--r-- | hw/dmx/config/scanner.l | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/dmx/config/scanner.l b/hw/dmx/config/scanner.l index e527d6df5..b75a440a8 100644 --- a/hw/dmx/config/scanner.l +++ b/hw/dmx/config/scanner.l @@ -109,7 +109,7 @@ void yyerror(const char *message) }; fprintf(stderr, "parse error on line %d at token \"%*.*s\"\n", - lineno, yyleng, yyleng, yytext); + lineno, (int)yyleng, (int)yyleng, yytext); end = message + strlen(message); for (pt = message; *pt; pt++) { if (pt[0] == 'T' && pt[1] == '_') { |