summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--arm9/lib/src/OS_printf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arm9/lib/src/OS_printf.c b/arm9/lib/src/OS_printf.c
index f28e51ab..414f0db9 100644
--- a/arm9/lib/src/OS_printf.c
+++ b/arm9/lib/src/OS_printf.c
@@ -359,7 +359,7 @@ ARM_FUNC s32 OS_VSNPrintf(s8 *buffer, s32 bufsz, const s8 *format, void *args)
{
if (value != 0)
{
- prefix[0] = (u8)(hex + (10 + 'x' - 'a'));
+ prefix[0] = (s8)(hex + (10 + 'x' - 'a'));
prefix[1] = '0';
n_prefix = 2;
}