aboutsummaryrefslogtreecommitdiff
path: root/src/userspace/libc/stdlib/itoa.c
diff options
context:
space:
mode:
authorMarvin Borner2020-04-29 21:16:56 +0200
committerMarvin Borner2020-04-29 21:16:56 +0200
commit0f54f0de1004c6e9a455c295dc76879ac37a408f (patch)
treeb3a6b086f33689fe887fdfcf80fa4e749b07d119 /src/userspace/libc/stdlib/itoa.c
parent4546c75d685475d8b9f215b588364e1d1bbd0b79 (diff)
Fixed several warnings, errors and dumb bugs
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;