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/strcmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/userspace/libc/string/strcmp.c') diff --git a/src/userspace/libc/string/strcmp.c b/src/userspace/libc/string/strcmp.c index 4282520..932877d 100644 --- a/src/userspace/libc/string/strcmp.c +++ b/src/userspace/libc/string/strcmp.c @@ -6,7 +6,7 @@ char strcmp(char *a, char *b) if (strlen(a) != strlen(b)) return 1; - for (u8 i = 0; i < strlen(a); i++) + for (u32 i = 0; i < strlen(a); i++) if (a[i] != b[i]) return 1; -- cgit v1.2.3