From: Igor Sysoev Date: Sat, 16 Feb 2008 14:24:43 +0000 (+0000) Subject: fix previous commit X-Git-Tag: release-0.6.27~30 X-Git-Url: http://www.kaiwu.me/postgresql/commit/?a=commitdiff_plain;h=85a5281be9311da30ae1e22a2975b93921fd21c5;p=nginx.git fix previous commit --- diff --git a/src/http/modules/perl/nginx.xs b/src/http/modules/perl/nginx.xs index ea8c366df..4524a8c40 100644 --- a/src/http/modules/perl/nginx.xs +++ b/src/http/modules/perl/nginx.xs @@ -939,7 +939,7 @@ sleep(r, sleep, next) ngx_http_perl_set_request(r); - sleep = SvIV(ST(1)); + sleep = (ngx_msec_t) SvIV(ST(1)); ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, "perl sleep: %M", sleep);