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 | 62e035984f45323b8d077cb8c472d2ce4f777feb (patch) | |
| tree | 0670533363243cd4971f6c4699dee00d88cc70bc /ruby.c | |
| parent | 95979f30cb6a37fc01acd96b04edd6344a766800 (diff) | |
| download | ruby-62e035984f45323b8d077cb8c472d2ce4f777feb.tar.gz ruby-62e035984f45323b8d077cb8c472d2ce4f777feb.tar.xz ruby-62e035984f45323b8d077cb8c472d2ce4f777feb.zip | |
* util.c (ruby_scan_oct, ruby_scan_hex): use size_t.
git-svn-id: http://svn.ruby-lang.org/repos/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; |
