From: Wolfgang Bumiller Date: Sun, 22 Jul 2012 10:22:25 +0000 (+0200) Subject: fix a warning about a format string X-Git-Tag: 0.1-rc1~400^2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=d4c408b4bd23e1516c6800cfd8e890dcc24c6bd6;p=xonotic%2Fgmqcc.git fix a warning about a format string --- diff --git a/ast.c b/ast.c index f0fba0f..e173ed5 100644 --- a/ast.c +++ b/ast.c @@ -619,7 +619,7 @@ bool ast_function_codegen(ast_function *self, ir_builder *ir) if (!self->builtin && self->vtype->params_count != self->params_count) { printf("ast_function's parameter variables doesn't match the declared parameter count\n"); - printf("%i != %i\n", self->vtype->params_count, self->params_count); + printf("%i != %i\n", (int)self->vtype->params_count, (int)self->params_count); return false; }