mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
Revert "[qfcc] Fix another type aliasing bug"
This reverts commit d14f695c68
.
Found the cause: revered to wrong case for template code
This commit is contained in:
parent
134f5ca6a4
commit
62d58a2255
1 changed files with 1 additions and 2 deletions
|
@ -1945,8 +1945,7 @@ bitnot_expr:
|
|||
if (extract_type (e) != ev_pointer)
|
||||
return error (e, "invalid type for unary .");
|
||||
e = new_unary_expr ('.', e);
|
||||
const type_t *t = unalias_type (get_type (e->e.expr.e1));
|
||||
e->e.expr.type = t->t.fldptr.type;
|
||||
e->e.expr.type = get_type (e->e.expr.e1)->t.fldptr.type;
|
||||
return e;
|
||||
case '+':
|
||||
if (!is_math (get_type (e)))
|
||||
|
|
Loading…
Reference in a new issue