summaryrefslogtreecommitdiff
path: root/src/string/strcasecmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/string/strcasecmp.c')
-rw-r--r--src/string/strcasecmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/string/strcasecmp.c b/src/string/strcasecmp.c
index dd879052..02fd5f8c 100644
--- a/src/string/strcasecmp.c
+++ b/src/string/strcasecmp.c
@@ -3,7 +3,7 @@
int strcasecmp(const char *_l, const char *_r)
{
- const unsigned char *l=_l, *r=_r;
+ const unsigned char *l=(void *)_l, *r=(void *)_r;
for (; *l && *r && (*l == *r || tolower(*l) == tolower(*r)); l++, r++);
return tolower(*l) - tolower(*r);
}