We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c6551e0 commit e340babCopy full SHA for e340bab
1 file changed
src/string.c
@@ -1128,7 +1128,7 @@ static mrb_value
1128
mrb_str_downcase_bang(mrb_state *mrb, mrb_value str)
1129
{
1130
char *p, *pend;
1131
- int modify = 0;
+ mrb_bool modify = FALSE;
1132
struct RString *s = mrb_str_ptr(str);
1133
1134
mrb_str_modify(mrb, s);
@@ -1137,7 +1137,7 @@ mrb_str_downcase_bang(mrb_state *mrb, mrb_value str)
1137
while (p < pend) {
1138
if (ISUPPER(*p)) {
1139
*p = TOLOWER(*p);
1140
- modify = 1;
+ modify = TRUE;
1141
}
1142
p++;
1143
0 commit comments