port Windows driver support
diff --git a/tests/test_mips.c b/tests/test_mips.c
index 6cb751f..aef1228 100644
--- a/tests/test_mips.c
+++ b/tests/test_mips.c
@@ -3,8 +3,8 @@
#include <stdio.h>
#include <stdlib.h>
-#include "../myinttypes.h"
+#include <capstone/platform.h>
#include <capstone/capstone.h>
struct platform {
@@ -51,7 +51,7 @@
printf("\t\toperands[%u].type: REG = %s\n", i, cs_reg_name(handle, op->reg));
break;
case MIPS_OP_IMM:
- printf("\t\toperands[%u].type: IMM = 0x%"PRIx64 "\n", i, op->imm);
+ printf("\t\toperands[%u].type: IMM = 0x%" PRIx64 "\n", i, op->imm);
break;
case MIPS_OP_MEM:
printf("\t\toperands[%u].type: MEM\n", i);
@@ -138,10 +138,10 @@
printf("Disasm:\n");
for (j = 0; j < count; j++) {
- printf("0x%"PRIx64":\t%s\t%s\n", insn[j].address, insn[j].mnemonic, insn[j].op_str);
+ printf("0x%" PRIx64 ":\t%s\t%s\n", insn[j].address, insn[j].mnemonic, insn[j].op_str);
print_insn_detail(&insn[j]);
}
- printf("0x%"PRIx64":\n", insn[j-1].address + insn[j-1].size);
+ printf("0x%" PRIx64 ":\n", insn[j-1].address + insn[j-1].size);
// free memory allocated by cs_disasm()
cs_free(insn, count);