mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-23 12:52:46 +00:00
fix an interal error caused by losing the error state
This commit is contained in:
parent
48d9d96005
commit
0bd92e439a
1 changed files with 1 additions and 1 deletions
|
@ -434,7 +434,7 @@ do_op_pointer (int op, expr_t *e, expr_t *e1, expr_t *e2)
|
|||
}
|
||||
if (op != PAS && op != '.' && op != '&' && op != 'M'
|
||||
&& extract_type (e1) != extract_type (e2))
|
||||
type_mismatch (e1, e2, op);
|
||||
return type_mismatch (e1, e2, op);
|
||||
if ((op == '.' || op == '&') && get_type (e2) == &type_uinteger) {
|
||||
//FIXME should implement unsigned addressing
|
||||
e->e.expr.e2 = cast_expr (&type_integer, e2);
|
||||
|
|
Loading…
Reference in a new issue