diff --git a/MCInst.c b/MCInst.c index 75790cb10..40d1aba0a 100644 --- a/MCInst.c +++ b/MCInst.c @@ -16,11 +16,12 @@ void MCInst_Init(MCInst *inst) { - int i; + unsigned int i; - for (i = 0; i < 48; i++){ + for (i = 0; i < 48; i++) { inst->Operands[i].Kind = kInvalid; } + inst->Opcode = 0; inst->OpcodePub = 0; inst->size = 0;