From 0f54f0de1004c6e9a455c295dc76879ac37a408f Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Wed, 29 Apr 2020 21:16:56 +0200 Subject: Fixed several warnings, errors and dumb bugs --- src/userspace/libc/stdlib/itoa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/userspace/libc/stdlib/itoa.c') 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; -- cgit v1.2.3