diff options
Diffstat (limited to 'os/strcasecmp.c')
-rw-r--r-- | os/strcasecmp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/os/strcasecmp.c b/os/strcasecmp.c index cf100baf4..2692f7f1e 100644 --- a/os/strcasecmp.c +++ b/os/strcasecmp.c @@ -38,7 +38,7 @@ int xstrcasecmp(const char *str1, const char *str2) { - const u_char *us1 = (const u_char *)str1, *us2 = (const u_char *)str2; + const u_char *us1 = (const u_char *) str1, *us2 = (const u_char *) str2; while (tolower(*us1) == tolower(*us2)) { if (*us1++ == '\0') @@ -55,7 +55,7 @@ int xstrncasecmp(const char *s1, const char *s2, size_t n) { if (n != 0) { - const u_char *us1 = (const u_char *)s1, *us2 = (const u_char *)s2; + const u_char *us1 = (const u_char *) s1, *us2 = (const u_char *) s2; do { if (tolower(*us1) != tolower(*us2++)) |