summaryrefslogtreecommitdiff
path: root/ruby.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-03-14 09:25:20 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-03-14 09:25:20 +0000
commit4de12b6ae9a7fc1e28ada4b62291a78f28ae7528 (patch)
tree0670533363243cd4971f6c4699dee00d88cc70bc /ruby.c
parenteca77cc85c9c90f23d6f09ecdfa185eba488f8ed (diff)
* 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.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ruby.c b/ruby.c
index 0fff0033a0..29cefedec1 100644
--- a/ruby.c
+++ b/ruby.c
@@ -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;