X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=opcodes%2Fhppa-dis.c;h=8562952206b288ef7e4df99b4b319a053c29ba7f;hb=b6518b3871859f9eeb7653bf2f3baaa43fa0a5d0;hp=4be0f3ca41600bacfb4efa037cdd67677cf81676;hpb=6a40cf0c5c845683fdb82721813ebd5dd867cce5;p=deliverable%2Fbinutils-gdb.git diff --git a/opcodes/hppa-dis.c b/opcodes/hppa-dis.c index 4be0f3ca41..8562952206 100644 --- a/opcodes/hppa-dis.c +++ b/opcodes/hppa-dis.c @@ -1103,7 +1103,7 @@ print_insn_hppa (bfd_vma memaddr, disassemble_info *info) int disp; if (sign) - disp = (-1 << 10) | imm10; + disp = (-1U << 10) | imm10; else disp = imm10; @@ -1119,7 +1119,7 @@ print_insn_hppa (bfd_vma memaddr, disassemble_info *info) int disp; if (sign) - disp = (-1 << 11) | imm11; + disp = (-1U << 11) | imm11; else disp = imm11;