summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2017-01-28 15:33:53 -0800
committerKeith Packard <keithp@keithp.com>2017-02-20 11:16:52 -0800
commit51edc29f5ba758ef8ba4fdd5f53fdabc6a31c98a (patch)
tree2fe83d0cbee5cf358715e97423e16db6f18819aa
parentd96224c2fdc535d08de23aec30d62d4ada9fb8d3 (diff)
altos: Eliminate printf format warning with long vs int
Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r--src/kernel/ao_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/ao_cmd.c b/src/kernel/ao_cmd.c
index 077d7de1..881f3500 100644
--- 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)
- , (uint32_t) AO_BOOT_APPLICATION_BOUND - (uint32_t) AO_BOOT_APPLICATION_BASE
+ , (unsigned) ((uint32_t) AO_BOOT_APPLICATION_BOUND - (uint32_t) AO_BOOT_APPLICATION_BASE)
#endif
);
printf("software-version %s\n", ao_version);