summaryrefslogtreecommitdiff
path: root/st.c
diff options
context:
space:
mode:
authorshyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-11-08 05:24:07 (GMT)
committershyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-11-08 05:24:07 (GMT)
commit289972277ac0c747363fefc22bb024533966fee1 (patch)
tree5fb55ca32f99035b78d51fe8fd6d6b847817d168 /st.c
parent24fff7504595dcbc5466d209485b13074fb33a3d (diff)
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
Diffstat (limited to 'st.c')
-rw-r--r--st.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/st.c b/st.c
index 6a943b8..77d998f 100644
--- a/st.c
+++ b/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++;