aboutsummaryrefslogtreecommitdiff
path: root/types.c
diff options
context:
space:
mode:
Diffstat (limited to 'types.c')
-rw-r--r--types.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/types.c b/types.c
index ddb3f076..8fcff830 100644
--- a/types.c
+++ b/types.c
@@ -394,7 +394,7 @@ PUREFUNC bool is_int_type(type_t *t)
PUREFUNC bool is_numeric_type(type_t *t)
{
- return t->tag == IntType || t->tag == BigIntType || t->tag == NumType;
+ return t->tag == IntType || t->tag == BigIntType || t->tag == NumType || t->tag == ByteType;
}
PUREFUNC size_t unpadded_struct_size(type_t *t)