Tsukada
ttsuk****@users*****
2002年 5月 26日 (日) 15:06:36 JST
ttsukada 02/05/26 15:06:36 Modified: ext/mbstring filter.c Log: change the type of string length to size_t Revision Changes Path 1.5 +3 -2 php4/ext/mbstring/filter.c Index: filter.c =================================================================== RCS file: /cvsroot/php-i18n/php4/ext/mbstring/filter.c,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- filter.c 25 May 2002 16:22:07 -0000 1.4 +++ filter.c 26 May 2002 06:06:36 -0000 1.5 @@ -228,7 +228,7 @@ PHPAPI int _php_mb_conv_filt_feed_string(mbfl_convert_filter *filter, php_mb_str *src TSRMLS_DC) { - int n; + size_t n; unsigned char *p; PHP_MB_FILT_TSRMLS_SET(filter); @@ -248,7 +248,8 @@ PHPAPI int _php_mb_conv_filt_feed_buffer(mbfl_convert_filter *filter, php_mb_buf *src) { - int n, *p; + size_t n; + int *p; PHP_MB_FILT_TSRMLS_SET(filter); n = src->length;