diff options
Diffstat (limited to 'src/types.c')
| -rw-r--r-- | src/types.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/types.c b/src/types.c index 83c3e702..efd83477 100644 --- a/src/types.c +++ b/src/types.c @@ -420,7 +420,7 @@ PUREFUNC bool can_promote(type_t *actual, type_t *needed) PUREFUNC bool is_int_type(type_t *t) { - return t->tag == IntType || t->tag == BigIntType; + return t->tag == IntType || t->tag == BigIntType || t->tag == ByteType; } PUREFUNC bool is_numeric_type(type_t *t) |
