summaryrefslogtreecommitdiffstats
path: root/io.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-08-22 03:42:09 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-08-22 03:42:09 +0000
commitb75ff3a5f65e3ca5f7235d31c4b4e694ccef7970 (patch)
tree6a7672d8adda20e209bddad44b8e15feeaaaa56a /io.c
parenta3992d65fb3597fd34f7eaed6ea18a4c140d3850 (diff)
downloadruby-b75ff3a5f65e3ca5f7235d31c4b4e694ccef7970.tar.gz
ruby-b75ff3a5f65e3ca5f7235d31c4b4e694ccef7970.tar.xz
ruby-b75ff3a5f65e3ca5f7235d31c4b4e694ccef7970.zip
* io.c (rb_io_pid): use PIDT2NUM.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18771 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'io.c')
-rw-r--r--io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/io.c b/io.c
index 217066b04..3ce2d2a21 100644
--- a/io.c
+++ b/io.c
@@ -1262,7 +1262,7 @@ rb_io_pid(VALUE io)
GetOpenFile(io, fptr);
if (!fptr->pid)
return Qnil;
- return INT2FIX(fptr->pid);
+ return PIDT2NUM(fptr->pid);
}