Merge branch 'master' into blub/bc3

This commit is contained in:
Wolfgang Bumiller 2012-07-22 12:22:33 +02:00
commit 2bfd272714

2
ast.c
View file

@ -633,7 +633,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;
}