tools: fix stub rb_strcasecmp() build
This commit is contained in:
parent
b5f3e5e5e8
commit
5a775221d2
1 changed files with 1 additions and 1 deletions
|
@ -144,7 +144,7 @@ rb_string_to_array(char *string, char **parv, int maxpara)
|
||||||
int
|
int
|
||||||
rb_strcasecmp(const char *s1, const char *s2)
|
rb_strcasecmp(const char *s1, const char *s2)
|
||||||
{
|
{
|
||||||
const unsigned char *us1 = (const unsigned char *)s1,
|
const unsigned char *us1 = (const unsigned char *)s1;
|
||||||
const unsigned char *us2 = (const unsigned char *)s2;
|
const unsigned char *us2 = (const unsigned char *)s2;
|
||||||
|
|
||||||
while (tolower(*us1) == tolower(*us2++))
|
while (tolower(*us1) == tolower(*us2++))
|
||||||
|
|
Loading…
Reference in a new issue