From: Pierre Joye Date: Wed, 3 Nov 2010 21:50:03 +0000 (+0000) Subject: - fix type and silent warning X-Git-Tag: php-5.3.4RC1~84 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e61005f7127191cc5b8a503cf6b54383f33a4b7b;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) {