From 8f77dd60752c00377c422f2774a47bc513dac9bd Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 20 Sep 2001 15:33:41 +0000 Subject: [PATCH] oops - forgot to check for clean 64 bit build - fix compile time warning --- opcodes/openrisc-asm.c | 4 ++-- 1 file 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; } -- 2.11.0