aboutsummaryrefslogtreecommitdiff
path: root/opcodes/nds32-asm.c
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@codesourcery.com>2014-01-06 10:40:48 +0800
committerKuan-Lin Chen <kuanlinchentw@gmail.com>2014-01-06 10:44:23 +0800
commitb0b0c9fc49b72ec4f0f38419f20bcafcae9736d8 (patch)
tree2b7f16d134018b6ce967eb08ee4ce675b8e0ea64 /opcodes/nds32-asm.c
parent31e44d0a8b296c3224594c7de5a9bed6a278e34a (diff)
downloadgdb-b0b0c9fc49b72ec4f0f38419f20bcafcae9736d8.zip
gdb-b0b0c9fc49b72ec4f0f38419f20bcafcae9736d8.tar.gz
gdb-b0b0c9fc49b72ec4f0f38419f20bcafcae9736d8.tar.bz2
* nds32-asm.c (parse_operand): Fix out-of-range integer constant.
Diffstat (limited to 'opcodes/nds32-asm.c')
-rw-r--r--opcodes/nds32-asm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/opcodes/nds32-asm.c b/opcodes/nds32-asm.c
index d7681bf..62512dd 100644
--- a/opcodes/nds32-asm.c
+++ b/opcodes/nds32-asm.c
@@ -1370,7 +1370,7 @@ parse_operand (nds32_asm_desc_t *pdesc, nds32_asm_insn_t *pinsn,
hashval_t hash;
const field_t *fld = &LEX_GET_FIELD (syn);
keyword_t *k;
- int64_t value = 0x100000000; /* Big enough to overflow. */
+ int64_t value;
int r;
uint64_t modifier = 0;