tools: fix stub rb_strcasecmp() build

This commit is contained in:
William Pitcock 2016-04-29 19:52:19 -05:00
parent b5f3e5e5e8
commit 5a775221d2

View file

@ -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++))