Re: [PHP-CVS] Re: cvs: php-src(PHP_5_2) /ext/bz2 bz2_filter.c

2006-06-21 Thread Michael Wallner
Ilia Alshanetsky wrote: On my 2 32 bit machines the compiler complains about int being used where a non-int or a long value is returned. Changing it to long fixes the problem, this is replicated on gcc 3.4 and 4.0.1 Ok, well... this seems to differ for me on i686 (__SIZE_TYPE__ is unsigned in

Re: [PHP-CVS] Re: cvs: php-src(PHP_5_2) /ext/bz2 bz2_filter.c

2006-06-21 Thread Michael Wallner
Stefan Esser wrote: Hi, I don't know what you're running but here size_t is unsigned int. It's probably unsigned long on 64bit boxen, so what's this fix about? The question is: what are you running? size_t usually is unsigned long. [EMAIL PROTECTED]:~/devel/testimonials$ cat printf.c #include

Re: [PHP-CVS] Re: cvs: php-src(PHP_5_2) /ext/bz2 bz2_filter.c

2006-06-21 Thread Ilia Alshanetsky
On my 2 32 bit machines the compiler complains about int being used where a non-int or a long value is returned. Changing it to long fixes the problem, this is replicated on gcc 3.4 and 4.0.1 On 21-Jun-06, at 12:08 PM, Michael Wallner wrote: Ilia Alshanetsky wrote: iliaa Wed Jun

Re: [PHP-CVS] Re: cvs: php-src(PHP_5_2) /ext/bz2 bz2_filter.c

2006-06-21 Thread Stefan Esser
> Hi, I don't know what you're running but here size_t is unsigned int. > It's probably unsigned long on 64bit boxen, so what's this fix about? The question is: what are you running? size_t usually is unsigned long. Stefan -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: htt

[PHP-CVS] Re: cvs: php-src(PHP_5_2) /ext/bz2 bz2_filter.c

2006-06-21 Thread Michael Wallner
Ilia Alshanetsky wrote: iliaa Wed Jun 21 15:19:24 2006 UTC Modified files: (Branch: PHP_5_2) /php-src/ext/bz2 bz2_filter.c Log: Fixed compiler warnings. http://cvs.php.net/viewvc.cgi/php-src/ext/bz2/bz2_filter.c?r1=1.3.2.2&r2=1.3.2.2.2.1&diff_format=u In