mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
1 changed files with 1 additions and 1 deletions
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;
|
||||
break;
|
||||
}
|
||||
while (*end && isspace(*end)) end++;
|
||||
while (*end && isspace((unsigned char)*end)) end++;
|
||||
if (*end) {
|
||||
if (RTEST(ruby_verbose)) fprintf(stderr, "invalid string for %s: %s\n", name, ptr);
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue