From e61005f7127191cc5b8a503cf6b54383f33a4b7b Mon Sep 17 00:00:00 2001 From: Pierre Joye Date: Wed, 3 Nov 2010 21:50:03 +0000 Subject: [PATCH] - fix type and silent warning --- ext/zip/zip_stream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.50.1