mirror of
https://github.com/php/php-src.git
synced 2024-11-28 20:34:29 +08:00
- Kill the last compiler warning under 5.3 (release-only)
This commit is contained in:
parent
d4ddc6d890
commit
6ef7aef1d4
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user