summaryrefslogtreecommitdiff
path: root/hw/dmx/config/scanner.l
diff options
context:
space:
mode:
authorJon Turney <jon.turney@dronecode.org.uk>2015-11-20 12:01:49 +0000
committerJon Turney <jon.turney@dronecode.org.uk>2015-11-20 12:01:49 +0000
commit6b720d25a1c3f6f236630db380979b980cf5e21e (patch)
tree4f0a250cd97d0dbd1a5cda810443b05a6599d09e /hw/dmx/config/scanner.l
parent43fb888bd01cf9d3d277e77a52a3d0c93ccff8bd (diff)
parentd394c14f032c71e2dcb1850d0528e184e484f51f (diff)
Merge branch 'cygwin-patches-for-1.18' into cygwin-release-1.18xserver-cygwin-1.18.0-1
Diffstat (limited to 'hw/dmx/config/scanner.l')
-rw-r--r--hw/dmx/config/scanner.l2
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] == '_') {