diff options
Diffstat (limited to 'opcodes/nds32-asm.c')
-rw-r--r-- | opcodes/nds32-asm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/opcodes/nds32-asm.c b/opcodes/nds32-asm.c index 406cc7c..d9f8766 100644 --- a/opcodes/nds32-asm.c +++ b/opcodes/nds32-asm.c @@ -2086,7 +2086,7 @@ done: { /* Sign-ext the value. */ if (((value >> 32) == 0) && (value & 0x80000000)) - value |= (int64_t) -1 << 31; + value |= (int64_t) -1U << 31; /* Shift the value to positive domain. */ |