summaryrefslogtreecommitdiff
path: root/string.c
diff options
context:
space:
mode:
Diffstat (limited to 'string.c')
-rw-r--r--string.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/string.c b/string.c
index 9492ec8171..9331532d15 100644
--- a/string.c
+++ b/string.c
@@ -3417,8 +3417,8 @@ str_casecmp(VALUE str1, VALUE str2)
if (single_byte_optimizable(str1) && single_byte_optimizable(str2)) {
while (p1 < p1end && p2 < p2end) {
if (*p1 != *p2) {
- unsigned int c1 = TOLOWER(*p1 & 0xff);
- unsigned int c2 = TOLOWER(*p2 & 0xff);
+ unsigned int c1 = TOLOWER(*p1 & 0xff);
+ unsigned int c2 = TOLOWER(*p2 & 0xff);
if (c1 != c2)
return INT2FIX(c1 < c2 ? -1 : 1);
}