2007-01-03 H.J. Lu <hongjiu.lu@intel.com>

* config/tc-i386.c (smallest_imm_type): Return unsigned int
	instead of int.
This commit is contained in:
H.J. Lu 2007-01-03 22:48:52 +00:00
parent e3bb37b525
commit 1509aa9a58
2 changed files with 6 additions and 1 deletions

View 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

View 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))