]> granicus.if.org Git - php/commitdiff
- fix type and silent warning
authorPierre Joye <pajoye@php.net>
Wed, 3 Nov 2010 21:50:03 +0000 (21:50 +0000)
committerPierre Joye <pajoye@php.net>
Wed, 3 Nov 2010 21:50:03 +0000 (21:50 +0000)
ext/zip/zip_stream.c

index 1561e01d1a7be5f25908a33953df3cb50035b3b0..68ef375d3a90831f8212e0f1dc916c67fa82c143 100644 (file)
@@ -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) {