Re: [PHP-DEV] warning in php_spl.c

2013-07-24 Thread Etienne Kneuss
Hi Stas, On Mon, Jul 22, 2013 at 10:14 AM, Stas Malyshev wrote: > Hi! > > Building PHP 5.5 with newer compiler on Mac, I'm getting this warning: > > /Users/smalyshev/php-5.5/ext/spl/php_spl.c:803:35: warning: format > specifies type 'unsigned int' but the argument has type 'intptr_t' > (ak

[PHP-DEV] warning in php_spl.c

2013-07-22 Thread Stas Malyshev
Hi! Building PHP 5.5 with newer compiler on Mac, I'm getting this warning: /Users/smalyshev/php-5.5/ext/spl/php_spl.c:803:35: warning: format specifies type 'unsigned int' but the argument has type 'intptr_t' (aka 'long') [-Wformat] spprintf(&hex, 32, "%016x%016x", hash_handle, hash