mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-01-19 06:40:49 +00:00
Print the name, not the struct pointer :S
This commit is contained in:
parent
9ef0435f9d
commit
dc74573fae
1 changed files with 1 additions and 1 deletions
2
ir.c
2
ir.c
|
@ -1978,7 +1978,7 @@ static bool gen_global_function(ir_builder *ir, ir_value *global)
|
|||
fun.firstlocal = code_globals_elements;
|
||||
for (i = 0; i < irfun->locals_count; ++i) {
|
||||
if (!ir_builder_gen_global(ir, irfun->locals[i])) {
|
||||
printf("Failed to generate global %s\n", irfun->locals[i]);
|
||||
printf("Failed to generate global %s\n", irfun->locals[i]->name);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue