]> granicus.if.org Git - php/commitdiff
- Kill the last compiler warning under 5.3 (release-only)
authorSteph Fox <sfox@php.net>
Fri, 20 Jun 2008 14:40:53 +0000 (14:40 +0000)
committerSteph Fox <sfox@php.net>
Fri, 20 Jun 2008 14:40:53 +0000 (14:40 +0000)
ext/phar/tar.c

index 062b1c9e6d303522c6109ee550300fe1799dd97b..8f12943122f8a5d0c8babb76421db100d8f12d2e 100644 (file)
@@ -1087,7 +1087,7 @@ nostub:
 #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);