tony2001 Tue Jul 1 07:36:59 2008 UTC Modified files: (Branch: PHP_5_3) /php-src/ext/bz2 bz2.c Log: on the contrary, string length is int http://cvs.php.net/viewvc.cgi/php-src/ext/bz2/bz2.c?r1=1.14.2.3.2.12.2.3&r2=1.14.2.3.2.12.2.4&diff_format=u Index: php-src/ext/bz2/bz2.c diff -u php-src/ext/bz2/bz2.c:1.14.2.3.2.12.2.3 php-src/ext/bz2/bz2.c:1.14.2.3.2.12.2.4 --- php-src/ext/bz2/bz2.c:1.14.2.3.2.12.2.3 Sun Jun 22 12:03:30 2008 +++ php-src/ext/bz2/bz2.c Tue Jul 1 07:36:59 2008 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: bz2.c,v 1.14.2.3.2.12.2.3 2008/06/22 12:03:30 indeyets Exp $ */ +/* $Id: bz2.c,v 1.14.2.3.2.12.2.4 2008/07/01 07:36:59 tony2001 Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -366,7 +366,7 @@ { zval **file; /* The file to open */ char *mode; /* The mode to open the stream with */ - long mode_len; + int mode_len; BZFILE *bz; /* The compressed file stream */ php_stream *stream = NULL; @@ -488,7 +488,7 @@ block_size = 4, /* Block size for compression algorithm */ work_factor = 0, /* Work factor for compression algorithm */ argc; /* Argument count */ - long source_len; /* Length of the source data */ + int source_len; /* Length of the source data */ unsigned int dest_len; /* Length of the destination buffer */ argc = ZEND_NUM_ARGS();
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php