summaryrefslogtreecommitdiff
path: root/ext/zip
diff options
context:
space:
mode:
authorPierre Joye <pajoye@php.net>2010-11-03 21:50:03 +0000
committerPierre Joye <pajoye@php.net>2010-11-03 21:50:03 +0000
commite61005f7127191cc5b8a503cf6b54383f33a4b7b (patch)
tree4088a0d1f78704f24882f7114a781829c457845d /ext/zip
parent6c3ddc70ed6e838db550a934a08adec29de99a55 (diff)
downloadphp-git-e61005f7127191cc5b8a503cf6b54383f33a4b7b.tar.gz
- fix type and silent warning
Diffstat (limited to 'ext/zip')
-rw-r--r--ext/zip/zip_stream.c2
1 files changed, 1 insertions, 1 deletions
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) {