diff --git a/tests/regress/00opcode_uc_crash.c b/tests/regress/00opcode_uc_crash.c index b5a43a9b..f18e1c77 100644 --- a/tests/regress/00opcode_uc_crash.c +++ b/tests/regress/00opcode_uc_crash.c @@ -35,7 +35,7 @@ static void VM_exec() err = uc_mem_write(uc, ADDRESS, X86_CODE32, sizeof(X86_CODE32) - 1); if(err != UC_ERR_OK) { - printf("Failed to write emulation code to memory, quit!: %s(len %d)", uc_strerror(err), sizeof(X86_CODE32) - 1); + printf("Failed to write emulation code to memory, quit!: %s(len %lu)", uc_strerror(err), sizeof(X86_CODE32) - 1); return; } @@ -66,4 +66,4 @@ int main(int argc, char *argv[]) { VM_exec(); return 0; -} \ No newline at end of file +}