/* Output translation of type array. */
{
type T;
- unsigned long Size;
+ long Size;
/* Walk over the complete string */
while ((T = *Type++) != T_END) {
/* Recursive call */
PrintType (F, Type + DECODE_SIZE);
Size = Decode (Type);
- if (Size == 0) {
+ if (Size == UNSPECIFIED) {
fprintf (F, "[]");
} else {
fprintf (F, "[%lu]", Size);
case T_ARRAY:
ElementCount = GetElementCount (T);
- if (ElementCount < 0) {
+ if (ElementCount == UNSPECIFIED) {
/* Array with unspecified size */
return 0;
} else {
*/
{
CHECK (IsTypeArray (T));
- return (unsigned) Decode (T+1);
+ return Decode (T+1);
}