diff options
| author | Pierre Joye <pajoye@php.net> | 2010-11-03 21:50:03 +0000 |
|---|---|---|
| committer | Pierre Joye <pajoye@php.net> | 2010-11-03 21:50:03 +0000 |
| commit | 6f1cfe3e7fe7ebb5f8ef733803ee50bfd4e63ad1 (patch) | |
| tree | 5382114e33e25e225f2509cb182a37f7269d73eb /ext/zip/zip_stream.c | |
| parent | 3b337020fad89f0560aff3af3d0447d1ee1eaa66 (diff) | |
| download | php-git-6f1cfe3e7fe7ebb5f8ef733803ee50bfd4e63ad1.tar.gz | |
- fix type and silent warning
Diffstat (limited to 'ext/zip/zip_stream.c')
| -rw-r--r-- | ext/zip/zip_stream.c | 2 |
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) { |
