diff --git a/src/cc65/datatype.c b/src/cc65/datatype.c index 9efb142ee..522b653c6 100644 --- a/src/cc65/datatype.c +++ b/src/cc65/datatype.c @@ -903,6 +903,7 @@ unsigned TypeOf (const Type* T) /* Address of ... */ return CF_INT | CF_UNSIGNED; + case T_VOID: case T_ENUM: /* Incomplete enum type */ Error ("Incomplete type '%s'", GetFullTypeName (T));