summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/ppc/init/ppc_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/ppc/init/ppc_main.c b/src/arch/ppc/init/ppc_main.c
index 5b4a159814..a89e02b7dd 100644
--- a/src/arch/ppc/init/ppc_main.c
+++ b/src/arch/ppc/init/ppc_main.c
@@ -9,7 +9,7 @@ extern unsigned _iseg[];
extern unsigned _liseg[];
extern unsigned _eliseg[];
-void (*hardwaremain)(int) = _iseg;
+void (*hardwaremain)(int) = (void (*)(int))_iseg;
/*
* At this point we're running out of flash with our