summaryrefslogtreecommitdiff
path: root/process.c
diff options
context:
space:
mode:
Diffstat (limited to 'process.c')
-rw-r--r--process.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/process.c b/process.c
index 107439e203..8acfcc36db 100644
--- a/process.c
+++ b/process.c
@@ -5047,10 +5047,10 @@ rb_proc_times(VALUE obj)
times(&buf);
return rb_struct_new(rb_cProcessTms,
- utime = DOUBLE2NUM(buf.tms_utime / hertz),
- stime = DOUBLE2NUM(buf.tms_stime / hertz),
- cutime = DOUBLE2NUM(buf.tms_cutime / hertz),
- sctime = DOUBLE2NUM(buf.tms_cstime / hertz));
+ utime = DBL2NUM(buf.tms_utime / hertz),
+ stime = DBL2NUM(buf.tms_stime / hertz),
+ cutime = DBL2NUM(buf.tms_cutime / hertz),
+ sctime = DBL2NUM(buf.tms_cstime / hertz));
#else
rb_notimplement();
#endif