From 4b15bcdd679f1bd93d7a63e752191d9cc302750e Mon Sep 17 00:00:00 2001 From: red031000 Date: Mon, 15 Jun 2020 22:02:59 +0100 Subject: u8 not necessary --- arm9/lib/src/OS_printf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'arm9/lib/src/OS_printf.c') 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; } -- cgit v1.2.3