ref: 362ffe51df8f1f4f8b3b9bff10c0def2d7aec9a0
parent: 1ce1997d95f84d23e1dd9de7e391230d84e32883
author: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
date: Tue Dec 24 13:06:21 EST 2024
get_type: make isarray a bool
--- a/types.c
+++ b/types.c
@@ -16,7 +16,7 @@
if(*bp != HT_NOTFOUND)
return *bp;
- int align, isarray = iscons(t) && car_(t) == FL(arraysym) && iscons(cdr_(t));
+ bool isarray = iscons(t) && car_(t) == FL(arraysym) && iscons(cdr_(t));
size_t sz;
if(isarray && !iscons(cdr_(cdr_(t)))){
// special case: incomplete array type