aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2007-01-03 22:48:52 +0000
committerH.J. Lu <hjl.tools@gmail.com>2007-01-03 22:48:52 +0000
commit1509aa9a58409d1d734799bdbd589402f03f0462 (patch)
tree72434ef55e0bcb7f18c36a612a9d4753a36e2a06 /gas/config
parente3bb37b5251d213aad3e2dd1d4faa9449f48e2a0 (diff)
downloadgdb-1509aa9a58409d1d734799bdbd589402f03f0462.zip
gdb-1509aa9a58409d1d734799bdbd589402f03f0462.tar.gz
gdb-1509aa9a58409d1d734799bdbd589402f03f0462.tar.bz2
2007-01-03 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (smallest_imm_type): Return unsigned int instead of int.
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/tc-i386.c2
1 files changed, 1 insertions, 1 deletions
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))