summaryrefslogtreecommitdiff
path: root/chip/g/loader/launch.c
diff options
context:
space:
mode:
Diffstat (limited to 'chip/g/loader/launch.c')
-rw-r--r--chip/g/loader/launch.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/chip/g/loader/launch.c b/chip/g/loader/launch.c
index 823e29489b..777724bc81 100644
--- a/chip/g/loader/launch.c
+++ b/chip/g/loader/launch.c
@@ -226,7 +226,8 @@ void tryLaunch(uint32_t adr, size_t max_size)
/* TODO: lock FLASH_REGION 1? */
disarmRAMGuards();
- debug_printf("Valid image found at 0x%08x, jumping", hdr);
+ debug_printf("Valid image found at 0x%08lx, jumping",
+ (unsigned long)hdr);
uart_tx_flush();
_jump_to_address(&hdr[1]);