summaryrefslogtreecommitdiff
path: root/src/user/lib/std/string.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/user/lib/std/string.c')
-rw-r--r--src/user/lib/std/string.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/user/lib/std/string.c b/src/user/lib/std/string.c
index 7cd8ede..21dbd03 100644
--- a/src/user/lib/std/string.c
+++ b/src/user/lib/std/string.c
@@ -6,7 +6,7 @@ int strlen(const char *str) {
return i-1;
}
-char *strchr(const char *str, char c) {
+char *strchr(const char *str, int c) {
while (*str) {
if (*str == c) return (char*)str;
str++;