mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
fix a missing & that was causing problems with writing function refs
This commit is contained in:
parent
bc5beea311
commit
de89733c5b
1 changed files with 1 additions and 1 deletions
|
@ -314,7 +314,7 @@ emit_methods (methodlist_t *_methods, const char *name, int instance)
|
|||
methods->method_list[i].method_name.sel_types;
|
||||
methods->method_list[i].method_imp = G_FUNCTION (method->def->ofs);
|
||||
if (method->func) {
|
||||
ref = new_reloc (POINTER_OFS (methods->method_list[i].method_imp),
|
||||
ref = new_reloc (POINTER_OFS (&methods->method_list[i].method_imp),
|
||||
rel_def_func);
|
||||
ref->next = method->func->refs;
|
||||
method->func->refs = ref;
|
||||
|
|
Loading…
Reference in a new issue