summaryrefslogtreecommitdiff
path: root/process.c
diff options
context:
space:
mode:
Diffstat (limited to 'process.c')
-rw-r--r--process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/process.c b/process.c
index 34a38cb18e..48eee5dc75 100644
--- a/process.c
+++ b/process.c
@@ -4248,7 +4248,7 @@ proc_getsid(int argc, VALUE *argv)
rb_scan_args(argc, argv, "01", &pid);
if (NIL_P(pid))
- pid = INT2NUM(0);
+ pid = INT2FIX(0);
sid = getsid(NUM2PIDT(pid));
if (sid < 0) rb_sys_fail(0);