diff options
-rw-r--r-- | src/http/modules/perl/nginx.xs | 2 |
1 files changed, 1 insertions, 1 deletions
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); |