From d4c408b4bd23e1516c6800cfd8e890dcc24c6bd6 Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Sun, 22 Jul 2012 12:22:25 +0200 Subject: [PATCH] fix a warning about a format string --- ast.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.2