* config/atof-vax.c (md_atof): Fix comparison inside know().
This commit is contained in:
parent
c13781b849
commit
2523cd0a81
2 changed files with 3 additions and 1 deletions
|
@ -1,5 +1,7 @@
|
||||||
2007-04-21 Nick Clifton <nickc@redhat.com>
|
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.
|
* config/tc-ia64.c (emit_one_bundle): Fix typo.
|
||||||
|
|
||||||
2007-04-21 Alan Modra <amodra@bigpond.net.au>
|
2007-04-21 Alan Modra <amodra@bigpond.net.au>
|
||||||
|
|
|
@ -435,7 +435,7 @@ md_atof (int what_statement_type,
|
||||||
a little-endian machine, be very careful about
|
a little-endian machine, be very careful about
|
||||||
converting words to chars. */
|
converting words to chars. */
|
||||||
number_of_chars = atof_vax_sizeof (kind_of_float);
|
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));
|
limit = words + (number_of_chars / sizeof (LITTLENUM_TYPE));
|
||||||
for (littlenumP = words; littlenumP < limit; littlenumP++)
|
for (littlenumP = words; littlenumP < limit; littlenumP++)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue