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