summaryrefslogtreecommitdiffstats
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 0545e77b2..834520b60 100644
--- a/process.c
+++ b/process.c
@@ -2903,7 +2903,7 @@ rb_f_spawn(int argc, VALUE *argv)
static VALUE
rb_f_sleep(int argc, VALUE *argv)
{
- int beg, end;
+ time_t beg, end;
beg = time(0);
if (argc == 0) {