]> skyeroc.xyz Git - dgamelaunch/commitdiff
Fix printf format arg type
authorPasi Kallinen <paxed@alt.org>
Thu, 28 Aug 2014 19:08:48 +0000 (22:08 +0300)
committerPasi Kallinen <paxed@alt.org>
Thu, 28 Aug 2014 19:08:48 +0000 (22:08 +0300)
config.l

index 5e3f887cf474f6ec61cc8bf854907d3316cabf2c..1d15d76abcd8c33f9c807f1e8487119dc09e42a7 100644 (file)
--- a/config.l
+++ b/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; 
 }