From: Pierre Joye Date: Wed, 3 Nov 2010 21:50:03 +0000 (+0000) Subject: - fix type and silent warning X-Git-Tag: php-5.4.0alpha1~191^2~735 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6f1cfe3e7fe7ebb5f8ef733803ee50bfd4e63ad1;p=php - fix type and silent warning --- diff --git a/ext/zip/zip_stream.c b/ext/zip/zip_stream.c index 1561e01d1a..68ef375d3a 100644 --- a/ext/zip/zip_stream.c +++ b/ext/zip/zip_stream.c @@ -30,7 +30,7 @@ struct php_zip_stream_data_t { /* {{{ php_zip_ops_read */ static size_t php_zip_ops_read(php_stream *stream, char *buf, size_t count TSRMLS_DC) { - int n = 0; + size_t n = 0; STREAM_DATA_FROM_STREAM(); if (self->za && self->zf) {