aboutsummaryrefslogtreecommitdiff
path: root/src/userspace/libc/stdlib/itoa.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/userspace/libc/stdlib/itoa.c')
-rw-r--r--src/userspace/libc/stdlib/itoa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/userspace/libc/stdlib/itoa.c b/src/userspace/libc/stdlib/itoa.c
index 8311ad1..b8aa73e 100644
--- a/src/userspace/libc/stdlib/itoa.c
+++ b/src/userspace/libc/stdlib/itoa.c
@@ -13,7 +13,7 @@ char *itoa(int n)
ret[1] = 0;
return ret;
}
- u8 negative = (u8)(n < 0);
+ u32 negative = (u32)(n < 0);
if (negative)
n *= -1;