* config/atof-vax.c (md_atof): Fix comparison inside know().
authorNick Clifton <nickc@redhat.com>
Sat, 21 Apr 2007 12:50:49 +0000 (12:50 +0000)
committerNick Clifton <nickc@redhat.com>
Sat, 21 Apr 2007 12:50:49 +0000 (12:50 +0000)
gas/ChangeLog
gas/config/atof-vax.c

index 0fff41bc1554928ef9ee396e5ca991f1d237b4de..ff7be50ee4591d44045566171e08f123669b2c7e 100644 (file)
@@ -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>
index 75756904fb89e846dc9850bb653f10946b4ededc..3947fedd54cc6de432c3cee6ec6685473085f412 100644 (file)
@@ -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++)
        {