summaryrefslogtreecommitdiff
path: root/opcodes/fr30-ibld.c
diff options
context:
space:
mode:
Diffstat (limited to 'opcodes/fr30-ibld.c')
-rw-r--r--opcodes/fr30-ibld.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/opcodes/fr30-ibld.c b/opcodes/fr30-ibld.c
index 177a12baba3..ed6ecd486ae 100644
--- a/opcodes/fr30-ibld.c
+++ b/opcodes/fr30-ibld.c
@@ -874,7 +874,7 @@ fr30_cgen_extract_operand (CGEN_CPU_DESC cd,
{
long value;
length = extract_normal (cd, ex_info, insn_value, 0, 0, 8, 4, 16, total_length, pc, & value);
- value = ((value) | (((-1) << (4))));
+ value = ((value) | (((-1UL) << (4))));
fields->f_m4 = value;
}
break;