summaryrefslogtreecommitdiff
path: root/cgen.c
diff options
context:
space:
mode:
Diffstat (limited to 'cgen.c')
-rw-r--r--cgen.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cgen.c b/cgen.c
index 1b959d2..44222b3 100644
--- a/cgen.c
+++ b/cgen.c
@@ -231,6 +231,7 @@ static bool cgen_uses_ptr(Type *t) {
case TYPE_TYPE:
return false;
case TYPE_USER:
+ case TYPE_CALL:
return cgen_uses_ptr(type_user_underlying(t));
}
assert(0);