diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1998-07-08 07:16:56 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1998-07-08 07:16:56 +0000 |
commit | 528b1f5237bc4e031228a27c00cdd679319f2472 (patch) | |
tree | 97ec8252a09789a5b7679ed1a492bea7790de08b /compar.c | |
parent | ab801dbdb7ff8a99b5e0976516b879b27bcf3e1b (diff) |
wait
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/v1_1r@261 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'compar.c')
-rw-r--r-- | compar.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -76,11 +76,11 @@ cmp_between(x, min, max) VALUE x, min, max; { VALUE c = rb_funcall(x, cmp, 1, min); - int t = NUM2INT(c); + long t = NUM2LONG(c); if (t < 0) return FALSE; c = rb_funcall(x, cmp, 1, max); - t = NUM2INT(c); + t = NUM2LONG(c); if (t > 0) return FALSE; return TRUE; } |