Fix compile time warnings generated when compiling with clang.
[deliverable/binutils-gdb.git] / opcodes / cgen-asm.c
index f4f81d76ab3674a986403cca8865904805557213..69b9be8923fd598a51c937983d2677b0b3238da5 100644 (file)
@@ -280,7 +280,7 @@ cgen_parse_signed_integer (CGEN_CPU_DESC cd,
          && value > 0
          && (value & 0x80000000)
          && ((value >> 31) == 1))
-       value |= -1 << 31;
+       value |= ((bfd_vma) -1) << 31;
 
       *valuep = value;
     }
This page took 0.034623 seconds and 4 git commands to generate.