projects
/
oweals
/
musl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
posix_spawn: honor POSIX_SPAWN_SETSIGDEF flag
[oweals/musl.git]
/
src
/
string
/
strcasecmp.c
diff --git
a/src/string/strcasecmp.c
b/src/string/strcasecmp.c
index dd87905222506604430918653ed4c507d4ae6bd2..02fd5f8ca499267b1b6420fd6c4fc2aa007ae56f 100644
(file)
--- 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);
}