]> git.kaiwu.me - nginx.git/commitdiff
fix building on 64-bit platforms broken in r1900
authorIgor Sysoev <igor@sysoev.ru>
Thu, 13 Mar 2008 15:48:36 +0000 (15:48 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Thu, 13 Mar 2008 15:48:36 +0000 (15:48 +0000)
src/http/modules/perl/ngx_http_perl_module.c

index d8425b98f15c3d8d8da03eef5caab7e8d1bfb3bb..c7c6de13adefd395d916c71059dcb57cced60cac 100644 (file)
@@ -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]));