X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=opcodes%2Fcgen-asm.c;h=b1675045d9d1139cb850b54657796f375d05a84d;hb=f1f28025c3ea75d5368ddd3046461648145b89b3;hp=f4f81d76ab3674a986403cca8865904805557213;hpb=43e65147c07b1400ae0dbb6694882eceb2363713;p=deliverable%2Fbinutils-gdb.git diff --git a/opcodes/cgen-asm.c b/opcodes/cgen-asm.c index f4f81d76ab..b1675045d9 100644 --- a/opcodes/cgen-asm.c +++ b/opcodes/cgen-asm.c @@ -1,5 +1,5 @@ /* CGEN generic assembler support code. - Copyright (C) 1996-2015 Free Software Foundation, Inc. + Copyright (C) 1996-2020 Free Software Foundation, Inc. This file is part of libopcodes. @@ -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; }