summaryrefslogtreecommitdiff
path: root/process.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-03-11 20:16:08 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-03-11 20:16:08 +0000
commitd7720b2fc00aa448c4d00eeb28ffc3e6c2c31bf4 (patch)
tree13362a9971b149b0ac1a3d676a01610a634730c7 /process.c
parent383b905f5eb834c9573ae41d192d0f90f3aa147e (diff)
* process.c (rb_f_sleep): time() needs time_t.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22900 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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) {