changeset 1940:6a4c74bea81c

fix building on 64-bit platforms broken in r1900
author Igor Sysoev <igor@sysoev.ru>
date Thu, 13 Mar 2008 15:48:36 +0000
parents 6e7daf852eec
children 0e7deac300f1
files src/http/modules/perl/ngx_http_perl_module.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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_htt
     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]));