]> git.xonotic.org Git - xonotic/gmqcc.git/commitdiff
fix a warning about a format string
authorWolfgang Bumiller <wolfgang.linux@bumiller.com>
Sun, 22 Jul 2012 10:22:25 +0000 (12:22 +0200)
committerWolfgang Bumiller <wolfgang.linux@bumiller.com>
Sun, 22 Jul 2012 10:22:25 +0000 (12:22 +0200)
ast.c

diff --git a/ast.c b/ast.c
index f0fba0f99a6d3db764e8f1e51ba3d30f1b4e8e5e..e173ed584db854f32ffdd71205ddca5ca26ee1bd 100644 (file)
--- 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;
     }