diff --git a/ChangeLog b/ChangeLog index abdaefb9c4..8629a1d8af 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Sun Mar 23 02:51:57 2008 Tanaka Akira + + * process.c (rlimit_resource_value): use NUM2RLIM. + Sun Mar 23 02:28:01 2008 Tadayoshi Funaba * complex.c: fixed. [ruby-dev:34109] diff --git a/process.c b/process.c index 603b396963..d3d75fe63d 100644 --- a/process.c +++ b/process.c @@ -2213,7 +2213,7 @@ rlimit_resource_value(VALUE rval) case T_FIXNUM: case T_BIGNUM: - return NUM2INT(rval); + return NUM2RLIM(rval); } #ifdef RLIM_INFINITY