commit | 495295ecd4d687fc23a6a4632a5fd426a0cbafd2 | [log] [tgz] |
---|---|---|
author | Nguyen Anh Quynh <aquynh@gmail.com> | Mon Jun 16 15:54:32 2014 +0800 |
committer | Nguyen Anh Quynh <aquynh@gmail.com> | Mon Jun 16 15:54:32 2014 +0800 |
tree | 8037f068ea1222feb4ebf39a8019e299ae0d426b | |
parent | 370b7d7d4ea6cc13f3c8a46d5c5d9c79126d1ed8 [diff] [blame] |
MCInst_Init() is arch-independent
diff --git a/cs.c b/cs.c index a1b02d3..ba4ee31 100644 --- a/cs.c +++ b/cs.c
@@ -449,7 +449,7 @@ insn_cache = total; while (size > 0) { - MCInst_Init(handle, &mci); + MCInst_Init(&mci); mci.csh = handle; // relative branches need to know the address & size of current insn