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 5e564611b7..5dff2227e7 100644
--- a/process.c
+++ b/process.c
@@ -2674,7 +2674,7 @@ proc_getgroups(VALUE obj)
ary = rb_ary_new();
for (i = 0; i < ngroups; i++)
- rb_ary_push(ary, INT2NUM(groups[i]));
+ rb_ary_push(ary, GIDT2NUM(groups[i]));
return ary;
#else