From: Igor Sysoev Date: Thu, 13 Mar 2008 15:48:36 +0000 (+0000) Subject: fix building on 64-bit platforms broken in r1900 X-Git-Tag: release-0.6.29~10 X-Git-Url: http://www.kaiwu.me/postgresql/commit/?a=commitdiff_plain;h=cbed5260492306442bb382aea4256a4fd60bb462;p=nginx.git fix building on 64-bit platforms broken in r1900 --- 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]));