From: Keith Packard Date: Sat, 28 Jan 2017 23:33:53 +0000 (-0800) Subject: altos: Eliminate printf format warning with long vs int X-Git-Tag: 1.7~119 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=51edc29f5ba758ef8ba4fdd5f53fdabc6a31c98a altos: Eliminate printf format warning with long vs int Signed-off-by: Keith Packard --- 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);