mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-27 06:34:11 +00:00
Fix conversion of nil to a real type.
This commit is contained in:
parent
f44a26e268
commit
d7853682af
1 changed files with 1 additions and 0 deletions
|
@ -1034,6 +1034,7 @@ convert_nil (expr_t *e, type_t *t)
|
||||||
{
|
{
|
||||||
memset (&e->e.value, 0, sizeof (e->e.value));
|
memset (&e->e.value, 0, sizeof (e->e.value));
|
||||||
e->e.value.type = t->type;
|
e->e.value.type = t->type;
|
||||||
|
e->type = ex_value;
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
|
|
Loading…
Reference in a new issue