From 0267c6c9c2672f72218199b971a2a16dfeb43ca9 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Mon, 14 Oct 1996 18:00:19 +0000 Subject: * config/tc-mips.c (load_register): Add cast to offsetT when using a constant with &~. --- gas/config/tc-mips.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gas/config') diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c index 0cce278..7c7182e 100644 --- a/gas/config/tc-mips.c +++ b/gas/config/tc-mips.c @@ -1999,7 +1999,7 @@ load_register (counter, reg, ep, dbl) || sizeof (ep->X_add_number) > 4 || (ep->X_add_number & 0x80000000) == 0)) || ((mips_isa < 3 || !dbl) - && (ep->X_add_number &~ 0xffffffff) == 0)) + && (ep->X_add_number &~ (offsetT) 0xffffffff) == 0)) { /* 32 bit values require an lui. */ macro_build ((char *) NULL, counter, ep, "lui", "t,u", reg, -- cgit v1.1