mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +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) {
|
if (def) {
|
||||||
cn = def;
|
cn = def;
|
||||||
} else {
|
} else {
|
||||||
cn = PR_NewDef (pr_immediate_type, "IMMEDIATE", 0);
|
cn = PR_NewDef (type, "IMMEDIATE", 0);
|
||||||
cn->ofs = PR_NewLocation (pr_immediate_type);
|
cn->ofs = PR_NewLocation (type);
|
||||||
pr_global_defs[cn->ofs] = cn;
|
pr_global_defs[cn->ofs] = cn;
|
||||||
}
|
}
|
||||||
cn->initialized = 1;
|
cn->initialized = 1;
|
||||||
|
|
Loading…
Reference in a new issue