ruby-changes:53409
From: shyouhei <ko1@a...>
Date: Thu, 8 Nov 2018 14:24:12 +0900 (JST)
Subject: [ruby-changes:53409] shyouhei:r65625 (trunk): st.c: fix comparison between signed and unsigned
shyouhei 2018-11-08 14:24:07 +0900 (Thu, 08 Nov 2018) New Revision: 65625 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=65625 Log: st.c: fix comparison between signed and unsigned Modified files: trunk/st.c Index: st.c =================================================================== --- st.c (revision 65624) +++ st.c (revision 65625) @@ -2036,7 +2036,7 @@ int https://github.com/ruby/ruby/blob/trunk/st.c#L2036 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++; -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/