diff options
| author | Linus Torvalds <torvalds@penguin.transmeta.com> | 2003-03-25 15:57:04 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-07 20:59:46 -0700 |
| commit | ea3907e1228b5ec9ce7e62b0861b6d4d7fb43266 (patch) | |
| tree | 3ad4e9b83a9635f75f673787a7e83124ff5b00bb | |
| parent | 4fd2962a5ff6b118f287d6dd479a0509e8f25457 (diff) | |
| download | sparse-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.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 }, |
