aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2008-03-13 15:48:36 +0000
committerIgor Sysoev <igor@sysoev.ru>2008-03-13 15:48:36 +0000
commitcbed5260492306442bb382aea4256a4fd60bb462 (patch)
tree1dfab01e6223d5047f1250253e836238d2c47b92 /src
parentb9186ad856b3e0bfd7b7c558af169767418bc5b2 (diff)
downloadnginx-cbed5260492306442bb382aea4256a4fd60bb462.tar.gz
nginx-cbed5260492306442bb382aea4256a4fd60bb462.zip
fix building on 64-bit platforms broken in r1900
Diffstat (limited to 'src')
-rw-r--r--src/http/modules/perl/ngx_http_perl_module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/modules/perl/ngx_http_perl_module.c b/src/http/modules/perl/ngx_http_perl_module.c
index d8425b98f..c7c6de13a 100644
--- a/src/http/modules/perl/ngx_http_perl_module.c
+++ b/src/http/modules/perl/ngx_http_perl_module.c
@@ -668,7 +668,7 @@ ngx_http_perl_call_handler(pTHX_ ngx_http_request_t *r, HV *nginx, SV *sub,
XPUSHs(sv);
if (args) {
- EXTEND(sp, (int) args[0]);
+ EXTEND(sp, (intptr_t) args[0]);
for (i = 1; i <= (ngx_uint_t) args[0]; i++) {
PUSHs(sv_2mortal(args[i]));