From: Fred Fish Date: Thu, 5 Dec 1991 18:53:46 +0000 (+0000) Subject: Supply missing parenthesis (~line 1269). X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c8d9eb8e43ca976e6f52d4709b1f9bac354d5b81;p=binutils-gdb.git Supply missing parenthesis (~line 1269). --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index c54d7709146..179dfe15acc 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +Thu Dec 5 10:51:05 1991 Fred Fish (fnf at cygnus.com) + + * buildsym.c (define_symbol): Supply missing parenthesis. + Thu Dec 5 03:34:21 1991 John Gilmore (gnu at cygnus.com) * coredep.c (fetch_core_registers): Fencepost error. Fixed by diff --git a/gdb/buildsym.c b/gdb/buildsym.c index 4f1fc24f313..e10d5c0ee62 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;