summaryrefslogtreecommitdiff
path: root/arm9/lib/src
diff options
context:
space:
mode:
authorred031000 <rubenru09@aol.com>2020-06-15 22:02:59 +0100
committerred031000 <rubenru09@aol.com>2020-06-15 22:02:59 +0100
commit4b15bcdd679f1bd93d7a63e752191d9cc302750e (patch)
tree9726efea02118716f3c5498f601ef41940b50896 /arm9/lib/src
parentc4603b45810f99e975f00d88e98f52c9bf147911 (diff)
u8 not necessary
Diffstat (limited to 'arm9/lib/src')
-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;
}