From 1509aa9a58409d1d734799bdbd589402f03f0462 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Wed, 3 Jan 2007 22:48:52 +0000 Subject: [PATCH] 2007-01-03 H.J. Lu * config/tc-i386.c (smallest_imm_type): Return unsigned int instead of int. --- gas/ChangeLog | 5 +++++ gas/config/tc-i386.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index b9b60b2a1fb..d7d28696189 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2007-01-03 H.J. Lu + + * config/tc-i386.c (smallest_imm_type): Return unsigned int + instead of int. + 2007-01-03 H.J. Lu * config/tc-i386.c: Convert to ISO C90 formatting diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c index c047d507005..9b525b56811 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)) -- 2.30.2