diff --git a/tools/qfcc/source/type.c b/tools/qfcc/source/type.c index a0c550c3c..e7fe935d4 100644 --- a/tools/qfcc/source/type.c +++ b/tools/qfcc/source/type.c @@ -1293,12 +1293,14 @@ int is_##t (const type_t *type) \ int is_pointer (const type_t *type) { + type = unalias_type (type); return is_ptr (type) && !type->fldptr.deref; } int is_reference (const type_t *type) { + type = unalias_type (type); return is_ptr (type) && type->fldptr.deref; }