sfox Fri Jun 20 14:40:54 2008 UTC Modified files: (Branch: PHP_5_3) /php-src/ext/phar tar.c Log: - Kill the last compiler warning under 5.3 (release-only) http://cvs.php.net/viewvc.cgi/php-src/ext/phar/tar.c?r1=1.55.2.12&r2=1.55.2.13&diff_format=u Index: php-src/ext/phar/tar.c diff -u php-src/ext/phar/tar.c:1.55.2.12 php-src/ext/phar/tar.c:1.55.2.13 --- php-src/ext/phar/tar.c:1.55.2.12 Wed Jun 18 15:06:50 2008 +++ php-src/ext/phar/tar.c Fri Jun 20 14:40:53 2008 @@ -1087,7 +1087,7 @@ #endif PHAR_SET_32(sigbuf, phar->sig_flags); PHAR_SET_32(sigbuf + 4, signature_length); - if (8 != php_stream_write(entry.fp, sigbuf, 8) || signature_length != php_stream_write(entry.fp, signature, signature_length)) { + if (8 != (int)php_stream_write(entry.fp, sigbuf, 8) || signature_length != (int)php_stream_write(entry.fp, signature, signature_length)) { efree(signature); if (error) { spprintf(error, 0, "phar error: unable to write signature to tar-based phar %s", phar->fname);
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php