2007-01-03 H.J. Lu <hongjiu.lu@intel.com>
authorH.J. Lu <hjl.tools@gmail.com>
Wed, 3 Jan 2007 22:48:52 +0000 (22:48 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Wed, 3 Jan 2007 22:48:52 +0000 (22:48 +0000)
* config/tc-i386.c (smallest_imm_type): Return unsigned int
instead of int.

gas/ChangeLog
gas/config/tc-i386.c

index b9b60b2a1fb76740d534556841c711f4639ae91d..d7d28696189c512f24bdd1b3827c792d621f3be0 100644 (file)
@@ -1,3 +1,8 @@
+2007-01-03  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/tc-i386.c (smallest_imm_type): Return unsigned int
+       instead of int.
+
 2007-01-03  H.J. Lu  <hongjiu.lu@intel.com>
 
        * config/tc-i386.c: Convert to ISO C90 formatting
index c047d5070051e89f59d07f02c7c61164e35d10dc..9b525b568112d60a3381736350062011518fbcd5 100644 (file)
@@ -918,7 +918,7 @@ fits_in_unsigned_long (offsetT num ATTRIBUTE_UNUSED)
 #endif
 }                              /* fits_in_unsigned_long() */
 
-static int
+static unsigned int
 smallest_imm_type (offsetT num)
 {
   if (cpu_arch_flags != (Cpu186 | Cpu286 | Cpu386 | Cpu486 | CpuNo64))