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:
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
|
||||
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++))
|
||||
|
|
Loading…
Reference in a new issue