summaryrefslogtreecommitdiff
path: root/range.c
diff options
context:
space:
mode:
Diffstat (limited to 'range.c')
-rw-r--r--range.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/range.c b/range.c
index 121acfe..06fef09 100644
--- a/range.c
+++ b/range.c
@@ -18,8 +18,8 @@ extern VALUE cNumeric;
static ID upto;
static VALUE
-range_s_new(class, first, last)
- VALUE class, first, last;
+range_s_new(klass, first, last)
+ VALUE klass, first, last;
{
VALUE obj;
@@ -32,7 +32,7 @@ range_s_new(class, first, last)
ArgError("bad value for range");
}
- obj = obj_alloc(class);
+ obj = obj_alloc(klass);
rb_iv_set(obj, "first", first);
rb_iv_set(obj, "last", last);