mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 23:32:09 +00:00
Use the correct type when deferencing an offset pointer.
This commit is contained in:
parent
1099ca086c
commit
6f625e426f
1 changed files with 1 additions and 1 deletions
|
@ -435,7 +435,7 @@ expr_deref (sblock_t *sblock, expr_t *e, operand_t **op)
|
|||
sblock = statement_subexpr (sblock, e->e.expr.e2, &s->opb);
|
||||
if (!*op) {
|
||||
*op = new_operand (op_temp);
|
||||
(*op)->type = low_level_type (e->e.expr.type);
|
||||
(*op)->type = low_level_type (type);
|
||||
}
|
||||
s->opc = *op;
|
||||
sblock_add_statement (sblock, s);
|
||||
|
|
Loading…
Reference in a new issue