aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-i386.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index b9b60b2..d7d2869 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,5 +1,10 @@
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
* config/tc-i386.h: Likewise.
diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c
index c047d50..9b525b5 100644
--- a/gas/config/tc-i386.c
+++ b/gas/config/tc-i386.c
@@ -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))