From 6ef7aef1d4d17e2fa211b65cef84b89a9721aa22 Mon Sep 17 00:00:00 2001 From: Steph Fox Date: Fri, 20 Jun 2008 14:40:53 +0000 Subject: [PATCH] - Kill the last compiler warning under 5.3 (release-only) --- ext/phar/tar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/phar/tar.c b/ext/phar/tar.c index 062b1c9e6d..8f12943122 100644 --- a/ext/phar/tar.c +++ b/ext/phar/tar.c @@ -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); -- 2.50.1