Supply missing parenthesis (~line 1269).

This commit is contained in:
Fred Fish 1991-12-05 18:53:46 +00:00
parent 299ee4e6c7
commit c8d9eb8e43
2 changed files with 5 additions and 1 deletions

View File

@ -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

View File

@ -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;