mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-29 23:52:22 +00:00
return defs of the correct type
This commit is contained in:
parent
69f869087b
commit
63ad87db68
1 changed files with 2 additions and 2 deletions
|
@ -213,8 +213,8 @@ PR_ReuseConstant (expr_t *e, def_t *def)
|
|||
if (def) {
|
||||
cn = def;
|
||||
} else {
|
||||
cn = PR_NewDef (pr_immediate_type, "IMMEDIATE", 0);
|
||||
cn->ofs = PR_NewLocation (pr_immediate_type);
|
||||
cn = PR_NewDef (type, "IMMEDIATE", 0);
|
||||
cn->ofs = PR_NewLocation (type);
|
||||
pr_global_defs[cn->ofs] = cn;
|
||||
}
|
||||
cn->initialized = 1;
|
||||
|
|
Loading…
Reference in a new issue