change uch to uc_struct (qemu)

This commit is contained in:
Jonathon Reinhart
2015-08-26 07:08:24 -04:00
parent b57662e43d
commit fcb099805f
2 changed files with 13 additions and 13 deletions

View File

@@ -148,7 +148,7 @@ int cpu_exec(struct uc_struct *uc, CPUArchState *env) // qq
// Unicorn: call interrupt callback if registered
if (uc->hook_intr_idx)
((uc_cb_hookintr_t)uc->hook_callbacks[uc->hook_intr_idx].callback)(
(uch)uc, cpu->exception_index,
uc, cpu->exception_index,
uc->hook_callbacks[uc->hook_intr_idx].user_data);
cpu->exception_index = -1;
#endif