Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


   


   


   




.











      :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: nginx-0.6.28



On Thu, Mar 13, 2008 at 06:11:29PM +0300, Alexander Azarov wrote:

> ,    :
> 
> gcc -c -O -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter
> -Wno-unused-function -Wunused-variable -Wno-unused-value -Werror -g
> -I/usr/include/pcre -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN
> -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE
> -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl/5.8/CORE  -I src/core -I src/event -I
> src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I
> src/http/modules/perl >                 -o objs/src/http/modules/perl/ngx_http_perl_module.o >                 src/http/modules/perl/ngx_http_perl_module.c
> cc1: warnings being treated as errors
> src/http/modules/perl/ngx_http_perl_module.c: In function
> 'ngx_http_perl_call_handler':
> src/http/modules/perl/ngx_http_perl_module.c:671: warning: cast from pointer
> to integer of different size
> src/http/modules/perl/ngx_http_perl_module.c:671: warning: cast from pointer
> to integer of different size
> make[1]: *** [objs/src/http/modules/perl/ngx_http_perl_module.o] Error 1
> make[1]: Leaving directory `/usr/src/nginx-0.6.28'
> make: *** [build] Error 2

.


-- 
 
http://sysoev.ru
Index: src/http/modules/perl/ngx_http_perl_module.c
===================================================================
--- src/http/modules/perl/ngx_http_perl_module.c        (revision 1258)
+++ src/http/modules/perl/ngx_http_perl_module.c        (working copy)
@@ -668,7 +668,7 @@
     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]));


 




Copyright © Lexa Software, 1996-2009.