aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
authorLinus Torvalds <torvalds@penguin.transmeta.com>2003-03-25 15:57:04 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-07 20:59:46 -0700
commitea3907e1228b5ec9ce7e62b0861b6d4d7fb43266 (patch)
tree3ad4e9b83a9635f75f673787a7e83124ff5b00bb
parent4fd2962a5ff6b118f287d6dd479a0509e8f25457 (diff)
downloadsparse-dev-ea3907e1228b5ec9ce7e62b0861b6d4d7fb43266.tar.gz
Oops. When adding the basic C types, I forgot the most
fundamental ones: 'int' and 'unsigned int'.
-rw-r--r--symbol.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/symbol.c b/symbol.c
index 86d14d47..2670ed94 100644
--- a/symbol.c
+++ b/symbol.c
@@ -297,12 +297,14 @@ struct ctype_declare {
unsigned long maxalign;
struct symbol *base_type;
} ctype_declaration[] = {
- { &bool_ctype, 0, BITS_IN_INT, MAX_INT_ALIGNMENT, &int_type },
+ { &bool_ctype, 0, BITS_IN_INT, MAX_INT_ALIGNMENT, &int_type },
{ &char_ctype, MOD_SIGNED | MOD_CHAR, BITS_IN_CHAR, MAX_INT_ALIGNMENT, &int_type },
{ &uchar_ctype, MOD_UNSIGNED | MOD_CHAR, BITS_IN_CHAR, MAX_INT_ALIGNMENT, &int_type },
{ &short_ctype, MOD_SIGNED | MOD_SHORT, BITS_IN_SHORT, MAX_INT_ALIGNMENT, &int_type },
{ &ushort_ctype, MOD_UNSIGNED | MOD_SHORT, BITS_IN_SHORT, MAX_INT_ALIGNMENT, &int_type },
+ { &int_ctype, 0, BITS_IN_INT, MAX_INT_ALIGNMENT, &int_type },
+ { &uint_ctype, MOD_UNSIGNED, BITS_IN_INT, MAX_INT_ALIGNMENT, &int_type },
{ &long_ctype, MOD_SIGNED | MOD_LONG, BITS_IN_LONG, MAX_INT_ALIGNMENT, &int_type },
{ &ulong_ctype, MOD_UNSIGNED | MOD_LONG, BITS_IN_LONG, MAX_INT_ALIGNMENT, &int_type },
{ &llong_ctype, MOD_SIGNED | MOD_LONG | MOD_LONGLONG, BITS_IN_LONGLONG, MAX_INT_ALIGNMENT, &int_type },