Fix compile time warnings generated when compiling with clang.
[deliverable/binutils-gdb.git] / opcodes / v850-dis.c
index d10f3e06c78483e8128149b9fdb3b840d54db2b2..0c50e5103035e7ce81216fb36cf87cad8c8877f8 100644 (file)
@@ -152,7 +152,7 @@ get_operand_value (const struct v850_operand *operand,
          if (operand->flags & V850E_IMMEDIATE16HI)
            value <<= 16;
          else if (value & 0x8000)
-           value |= (-1L << 16);
+           value |= (-1UL << 16);
 
          return value;
        }
This page took 0.023612 seconds and 4 git commands to generate.