mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2024-11-23 20:33:05 +00:00
fix a warning about a format string
This commit is contained in:
parent
9c2c62e82b
commit
d4c408b4bd
1 changed files with 1 additions and 1 deletions
2
ast.c
2
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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue