diff options
author | Nick Clifton <nickc@redhat.com> | 2001-09-20 15:33:41 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2001-09-20 15:33:41 +0000 |
commit | 0af4634dab2e8e2c72be0651e242d56b904f7026 (patch) | |
tree | 96c90c284009566b203cf01f2abb5b4a3a11b751 /opcodes/openrisc-asm.c | |
parent | 7874ed9c778e7b64aca1b183478ecef90f16f065 (diff) | |
download | binutils-redhat-0af4634dab2e8e2c72be0651e242d56b904f7026.tar.gz |
oops - forgot to check for clean 64 bit build - fix compile time warning
Diffstat (limited to 'opcodes/openrisc-asm.c')
-rw-r--r-- | opcodes/openrisc-asm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/opcodes/openrisc-asm.c b/opcodes/openrisc-asm.c index 93e21f05bf..b414cb574b 100644 --- a/opcodes/openrisc-asm.c +++ b/opcodes/openrisc-asm.c @@ -110,7 +110,7 @@ parse_hi16 (cd, strp, opindex, valuep) if (**strp == '-') errmsg = cgen_parse_signed_integer (cd, strp, opindex, (long *) &value); else - errmsg = cgen_parse_unsigned_integer (cd, strp, opindex, &value); + errmsg = cgen_parse_unsigned_integer (cd, strp, opindex, (unsigned long *) &value); } *valuep = (long) (short) (value & 0xffff); return errmsg; @@ -160,7 +160,7 @@ parse_lo16 (cd, strp, opindex, valuep) if (**strp == '-') errmsg = cgen_parse_signed_integer (cd, strp, opindex, (long *) &value); else - errmsg = cgen_parse_unsigned_integer (cd, strp, opindex, &value); + errmsg = cgen_parse_unsigned_integer (cd, strp, opindex, (unsigned long *) &value); *valuep = (long) (short) (value & 0xffff); return errmsg; } |