diff options
author | Nick Clifton <nickc@redhat.com> | 2007-04-21 12:50:49 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2007-04-21 12:50:49 +0000 |
commit | 757e3d474ad3b7603a37fad4a1c6bcd1f7471a94 (patch) | |
tree | 76e42752d78ab6b92bde2cc6bdb0bf41dfbb5af2 /gas | |
parent | 81db5b4e78a8a1462ff5cc05280d8697f7c1f86f (diff) | |
download | binutils-redhat-757e3d474ad3b7603a37fad4a1c6bcd1f7471a94.tar.gz |
* config/atof-vax.c (md_atof): Fix comparison inside know().
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 2 | ||||
-rw-r--r-- | gas/config/atof-vax.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 0fff41bc15..ff7be50ee4 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,5 +1,7 @@ 2007-04-21 Nick Clifton <nickc@redhat.com> + * config/atof-vax.c (md_atof): Fix comparison inside know(). + * config/tc-ia64.c (emit_one_bundle): Fix typo. 2007-04-21 Alan Modra <amodra@bigpond.net.au> diff --git a/gas/config/atof-vax.c b/gas/config/atof-vax.c index 75756904fb..3947fedd54 100644 --- a/gas/config/atof-vax.c +++ b/gas/config/atof-vax.c @@ -435,7 +435,7 @@ md_atof (int what_statement_type, a little-endian machine, be very careful about converting words to chars. */ number_of_chars = atof_vax_sizeof (kind_of_float); - know (number_of_chars <= MAXIMUM_NUMBER_OF_LITTLENUMS * sizeof (LITTLENUM_TYPE)); + know (number_of_chars <= (int)(MAXIMUM_NUMBER_OF_LITTLENUMS * sizeof (LITTLENUM_TYPE))); limit = words + (number_of_chars / sizeof (LITTLENUM_TYPE)); for (littlenumP = words; littlenumP < limit; littlenumP++) { |