aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--decl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/decl.c b/decl.c
index 5a8712b..94e4b15 100644
--- a/decl.c
+++ b/decl.c
@@ -229,7 +229,7 @@ tagspec(struct scope *s)
}
} else if (i == 1ull << 32) {
invalid:
- error(&tok.loc, "enumerator '%s' value cannot be represented as 'int'", name);
+ error(&tok.loc, "enumerator '%s' value cannot be represented as 'int' or 'unsigned int'", name);
}
d = mkdecl(DECLCONST, &typeint, QUALNONE, LINKNONE);
d->value = mkintconst(t->repr, i);