diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-03-14 09:25:20 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-03-14 09:25:20 +0000 |
commit | 4de12b6ae9a7fc1e28ada4b62291a78f28ae7528 (patch) | |
tree | 0670533363243cd4971f6c4699dee00d88cc70bc /ruby.c | |
parent | eca77cc85c9c90f23d6f09ecdfa185eba488f8ed (diff) | |
download | ruby-4de12b6ae9a7fc1e28ada4b62291a78f28ae7528.tar.gz |
* util.c (ruby_scan_oct, ruby_scan_hex): use size_t.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22957 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ruby.c')
-rw-r--r-- | ruby.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -699,7 +699,7 @@ proc_options(int argc, char **argv, struct cmdline_options *opt, int envopt) case 'W': { - int numlen; + size_t numlen; int v = 2; /* -W as -W2 */ if (*++s) { @@ -861,7 +861,7 @@ proc_options(int argc, char **argv, struct cmdline_options *opt, int envopt) case 'T': { - int numlen; + size_t numlen; int v = 1; if (*++s) { @@ -887,7 +887,7 @@ proc_options(int argc, char **argv, struct cmdline_options *opt, int envopt) case '0': if (envopt) goto noenvopt; { - int numlen; + size_t numlen; int v; char c; |