Skip to content

Commit 5d3ceeb

Browse files
hasherezadeaquynh
authored andcommitted
Fixed backward compatibility with C90 (#1572)
1 parent 687195d commit 5d3ceeb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/MOS65XX/MOS65XXDisassembler.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,9 +444,9 @@ void MOS65XX_printInst(MCInst *MI, struct SStream *O, void *PrinterInfo)
444444
{
445445
#ifndef CAPSTONE_DIET
446446
unsigned char opcode = MI->Opcode;
447+
unsigned int value = MI->Operands[0].ImmVal;
447448

448449
SStream_concat0(O, InstructionInfoTable[OpInfoTable[MI->Opcode].ins].name);
449-
unsigned int value = MI->Operands[0].ImmVal;
450450

451451
switch (OpInfoTable[opcode].am) {
452452
default:

0 commit comments

Comments
 (0)