0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-17 15:30:52 +01:00

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
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;
while (tolower(*us1) == tolower(*us2++))