projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
d96224c
)
altos: Eliminate printf format warning with long vs int
author
Keith Packard
<keithp@keithp.com>
Sat, 28 Jan 2017 23:33:53 +0000
(15:33 -0800)
committer
Keith Packard
<keithp@keithp.com>
Mon, 20 Feb 2017 19:16:52 +0000
(11:16 -0800)
Signed-off-by: Keith Packard <keithp@keithp.com>
src/kernel/ao_cmd.c
patch
|
blob
|
history
diff --git
a/src/kernel/ao_cmd.c
b/src/kernel/ao_cmd.c
index 077d7de137f2e397560d415e4d0b6ef270ae3d7c..881f3500ab7efd4c4d5dd992eef09269a3c0d11b 100644
(file)
--- a/
src/kernel/ao_cmd.c
+++ b/
src/kernel/ao_cmd.c
@@
-310,7
+310,7
@@
version(void)
#endif
#endif
#if defined(AO_BOOT_APPLICATION_BASE) && defined(AO_BOOT_APPLICATION_BOUND)
- , (u
int32_t) AO_BOOT_APPLICATION_BOUND - (uint32_t) AO_BOOT_APPLICATION_BASE
+ , (u
nsigned) ((uint32_t) AO_BOOT_APPLICATION_BOUND - (uint32_t) AO_BOOT_APPLICATION_BASE)
#endif
);
printf("software-version %s\n", ao_version);