pajoye                                   Wed, 03 Nov 2010 21:50:03 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=305064

Log:
- fix type and silent warning

Changed paths:
    U   php/php-src/branches/PHP_5_3/ext/zip/zip_stream.c
    U   php/php-src/trunk/ext/zip/zip_stream.c

Modified: php/php-src/branches/PHP_5_3/ext/zip/zip_stream.c
===================================================================
--- php/php-src/branches/PHP_5_3/ext/zip/zip_stream.c   2010-11-03 21:48:08 UTC 
(rev 305063)
+++ php/php-src/branches/PHP_5_3/ext/zip/zip_stream.c   2010-11-03 21:50:03 UTC 
(rev 305064)
@@ -30,7 +30,7 @@
 /* {{{ 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) {

Modified: php/php-src/trunk/ext/zip/zip_stream.c
===================================================================
--- php/php-src/trunk/ext/zip/zip_stream.c      2010-11-03 21:48:08 UTC (rev 
305063)
+++ php/php-src/trunk/ext/zip/zip_stream.c      2010-11-03 21:50:03 UTC (rev 
305064)
@@ -30,7 +30,7 @@
 /* {{{ 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) {

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to