PPC: fix handler type cast

This commit is contained in:
François Revol
2015-04-20 17:19:33 +02:00
parent f178e4a248
commit 10e57f6e58
+2 -1
View File
@@ -135,7 +135,8 @@ ppc_exception_entry(int vector, struct iframe *iframe)
}
Thread *thread = thread_get_current_thread();
if (thread && thread->fault_handler != 0) {
iframe->srr0 = thread->fault_handler;
iframe->srr0 =
reinterpret_cast<uintptr_t>(thread->fault_handler);
break;
}