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/string/strlen.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/userspace/libc/string/strlen.c') diff --git a/src/userspace/libc/string/strlen.c b/src/userspace/libc/string/strlen.c index cc8b804..cb04675 100644 --- a/src/userspace/libc/string/strlen.c +++ b/src/userspace/libc/string/strlen.c @@ -1,8 +1,8 @@ #include -u8 strlen(char *str) +u32 strlen(char *str) { - u8 len = 0; + u32 len = 0; while (str[len]) len++; return len; -- cgit v1.2.3