aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1996-10-14 18:00:19 +0000
committerIan Lance Taylor <ian@airs.com>1996-10-14 18:00:19 +0000
commit0267c6c9c2672f72218199b971a2a16dfeb43ca9 (patch)
tree8709dbb08cd68a249451c485e830c70ef0fd0ec3 /gas/config
parentf5587846ed8180f5a765963b75a143b7bb355320 (diff)
downloadgdb-0267c6c9c2672f72218199b971a2a16dfeb43ca9.zip
gdb-0267c6c9c2672f72218199b971a2a16dfeb43ca9.tar.gz
gdb-0267c6c9c2672f72218199b971a2a16dfeb43ca9.tar.bz2
* config/tc-mips.c (load_register): Add cast to offsetT when using
a constant with &~.
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/tc-mips.c2
1 files changed, 1 insertions, 1 deletions
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,