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 fb18d96001..0903f37f9c 100644
--- a/process.c
+++ b/process.c
@@ -3220,7 +3220,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) {