From: Pasi Kallinen Date: Thu, 28 Aug 2014 19:08:48 +0000 (+0300) Subject: Fix printf format arg type X-Git-Tag: v1.6.1-roc-dev~57^2~6 X-Git-Url: https://skyeroc.xyz/gitweb/?a=commitdiff_plain;h=3f6ae400e92432ff28d094ef85c8bae2485be956;p=dgamelaunch Fix printf format arg type --- diff --git a/config.l b/config.l index 5e3f887..1d15d76 100644 --- 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; }