From 6f1cfe3e7fe7ebb5f8ef733803ee50bfd4e63ad1 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.40.0