gc.c: suppress a warning
* gc.c (get_envparam_size): suppress a warning by char-subscripts. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45613 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
0476b87222
commit
be116626dd
2
gc.c
2
gc.c
@ -5740,7 +5740,7 @@ get_envparam_size(const char *name, size_t *default_value, size_t lower_bound)
|
|||||||
++end;
|
++end;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
while (*end && isspace(*end)) end++;
|
while (*end && isspace((unsigned char)*end)) end++;
|
||||||
if (*end) {
|
if (*end) {
|
||||||
if (RTEST(ruby_verbose)) fprintf(stderr, "invalid string for %s: %s\n", name, ptr);
|
if (RTEST(ruby_verbose)) fprintf(stderr, "invalid string for %s: %s\n", name, ptr);
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user