mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-01-25 16:41:09 +00:00
regress: fix compiled warning for 00opcode_uc_crash.c
This commit is contained in:
parent
2fe1b31d51
commit
de86647dbe
|
@ -35,7 +35,7 @@ static void VM_exec()
|
||||||
err = uc_mem_write(uc, ADDRESS, X86_CODE32, sizeof(X86_CODE32) - 1);
|
err = uc_mem_write(uc, ADDRESS, X86_CODE32, sizeof(X86_CODE32) - 1);
|
||||||
if(err != UC_ERR_OK)
|
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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -66,4 +66,4 @@ int main(int argc, char *argv[])
|
||||||
{
|
{
|
||||||
VM_exec();
|
VM_exec();
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue