mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-26 14:20:59 +00:00
[qfcc] Fix vector int tests
These too needed a horizontal or.
This commit is contained in:
parent
327cb88af3
commit
d6ec250897
1 changed files with 3 additions and 0 deletions
|
@ -106,6 +106,9 @@ test_expr (expr_t *e)
|
|||
case ev_uint:
|
||||
case ev_int:
|
||||
case ev_short:
|
||||
if (type->width > 1) {
|
||||
e = new_horizontal_expr ('|', e, &type_int);
|
||||
}
|
||||
if (!is_int(type_default)) {
|
||||
if (is_constant (e)) {
|
||||
return cast_expr (type_default, e);
|
||||
|
|
Loading…
Reference in a new issue