diff --git a/src/string/strcasecmp.c b/src/string/strcasecmp.c index 6e827fd..0dcefa2 100644 --- a/src/string/strcasecmp.c +++ b/src/string/strcasecmp.c @@ -7,5 +7,5 @@ int strcasecmp(const char *s1, const char *s2) s1 += 1; s2 += 1; } - return (*s1 - *s2); + return tolower(*s1) - tolower(*s2); }