summaryrefslogtreecommitdiffstats
path: root/gas/config/atof-vax.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2007-04-21 12:50:49 +0000
committerNick Clifton <nickc@redhat.com>2007-04-21 12:50:49 +0000
commit2523cd0a8125bf1b1e7442a70a7c4894ae012c1c (patch)
tree7f5d213a0038035246b95b460ac55ec9bbe218f3 /gas/config/atof-vax.c
parentc13781b849c7762655fc29e989c039ac4948e271 (diff)
downloadppe42-binutils-2523cd0a8125bf1b1e7442a70a7c4894ae012c1c.tar.gz
ppe42-binutils-2523cd0a8125bf1b1e7442a70a7c4894ae012c1c.zip
* config/atof-vax.c (md_atof): Fix comparison inside know().
Diffstat (limited to 'gas/config/atof-vax.c')
-rw-r--r--gas/config/atof-vax.c2
1 files changed, 1 insertions, 1 deletions
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++)
{
OpenPOWER on IntegriCloud