fix a warning about a format string

This commit is contained in:
Wolfgang Bumiller 2012-07-22 12:22:25 +02:00
parent 9c2c62e82b
commit d4c408b4bd

2
ast.c
View file

@ -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;
}