aboutsummaryrefslogtreecommitdiff
path: root/gdb/buildsym.c
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1991-12-05 18:53:46 +0000
committerFred Fish <fnf@specifix.com>1991-12-05 18:53:46 +0000
commitc8d9eb8e43ca976e6f52d4709b1f9bac354d5b81 (patch)
tree0122fbedcf69e3cc28c5d2713206b1cdefeed3c5 /gdb/buildsym.c
parent299ee4e6c7c5c9853e36933803be648c758e07eb (diff)
downloadgdb-c8d9eb8e43ca976e6f52d4709b1f9bac354d5b81.zip
gdb-c8d9eb8e43ca976e6f52d4709b1f9bac354d5b81.tar.gz
gdb-c8d9eb8e43ca976e6f52d4709b1f9bac354d5b81.tar.bz2
Supply missing parenthesis (~line 1269).
Diffstat (limited to 'gdb/buildsym.c')
-rw-r--r--gdb/buildsym.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/buildsym.c b/gdb/buildsym.c
index 4f1fc24..e10d5c0 100644
--- a/gdb/buildsym.c
+++ b/gdb/buildsym.c
@@ -1266,7 +1266,7 @@ define_symbol (valu, string, desc, type)
/* If PCC says a parameter is a short or a char,
it is really an int. */
if (TYPE_LENGTH (SYMBOL_TYPE (sym)) < TYPE_LENGTH (builtin_type_int)
- && TYPE_CODE (SYMBOL_TYPE (sym) == TYPE_CODE_INT) {
+ && TYPE_CODE (SYMBOL_TYPE (sym)) == TYPE_CODE_INT) {
SYMBOL_TYPE (sym) = TYPE_UNSIGNED (SYMBOL_TYPE (sym))?
builtin_type_unsigned_int:
builtin_type_int;