aboutsummaryrefslogtreecommitdiff
path: root/board/cm5200/fwupdate.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/cm5200/fwupdate.c')
-rw-r--r--board/cm5200/fwupdate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/cm5200/fwupdate.c b/board/cm5200/fwupdate.c
index 19aa94a..5a27191 100644
--- a/board/cm5200/fwupdate.c
+++ b/board/cm5200/fwupdate.c
@@ -63,7 +63,7 @@ void cm5200_fwupdate(void)
if (!bcmd)
return;
- sprintf(ka, "%lx", LOAD_ADDR);
+ sprintf(ka, "%lx", (ulong)LOAD_ADDR);
/* prepare our bootargs */
rsargs = getenv("rs-args");