mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
st.c: fix comparison between signed and unsigned
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65625 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
24fff75045
commit
289972277a
1 changed files with 1 additions and 1 deletions
2
st.c
2
st.c
|
@ -2036,7 +2036,7 @@ int
|
|||
st_locale_insensitive_strncasecmp(const char *s1, const char *s2, size_t n)
|
||||
{
|
||||
char c1, c2;
|
||||
int i;
|
||||
size_t i;
|
||||
|
||||
for (i = 0; i < n; i++) {
|
||||
c1 = *s1++;
|
||||
|
|
Loading…
Reference in a new issue