summaryrefslogtreecommitdiff
path: root/ruby.c
diff options
context:
space:
mode:
Diffstat (limited to 'ruby.c')
-rw-r--r--ruby.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ruby.c b/ruby.c
index 70dc88d4b1..76ed2aa3eb 100644
--- a/ruby.c
+++ b/ruby.c
@@ -338,7 +338,7 @@ static void
process_sflag()
{
if (sflag) {
- int n;
+ long n;
VALUE *args;
n = RARRAY(rb_argv)->len;
@@ -881,7 +881,7 @@ set_arg0(val, id)
ID id;
{
char *s;
- int i;
+ long i;
static int len;
if (origargv == 0) rb_raise(rb_eRuntimeError, "$0 not initialized");