summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--firmware/system.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/system.c b/firmware/system.c
index c9d1c6e153..25377f3b86 100644
--- a/firmware/system.c
+++ b/firmware/system.c
@@ -312,7 +312,7 @@ void system_reboot (void)
ICR = 0;
asm volatile ("jmp @%0; mov.l @%1,r15" : :
- "r"(*(char*)0),"r"(4));
+ "r"(*(int*)0),"r"(4));
}
void UIE (unsigned int pc) /* Unexpected Interrupt or Exception */