pajoye Sat Jul 22 12:59:15 2006 UTC Modified files: (Branch: PHP_5_2) /php-src/ext/filter sanitizing_filters.c Log: - hopla, before I got more conflicts ;) (fix compiler warnings with latest const char changes) http://cvs.php.net/viewvc.cgi/php-src/ext/filter/sanitizing_filters.c?r1=1.11.2.3&r2=1.11.2.4&diff_format=u Index: php-src/ext/filter/sanitizing_filters.c diff -u php-src/ext/filter/sanitizing_filters.c:1.11.2.3 php-src/ext/filter/sanitizing_filters.c:1.11.2.4 --- php-src/ext/filter/sanitizing_filters.c:1.11.2.3 Sat Jul 22 12:49:36 2006 +++ php-src/ext/filter/sanitizing_filters.c Sat Jul 22 12:59:15 2006 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: sanitizing_filters.c,v 1.11.2.3 2006/07/22 12:49:36 nlopess Exp $ */ +/* $Id: sanitizing_filters.c,v 1.11.2.4 2006/07/22 12:59:15 pajoye Exp $ */ #include "php_filter.h" #include "filter_private.h" @@ -303,13 +303,13 @@ /* depending on flags, strip '.', 'e', ",", "'" */ if (flags & FILTER_FLAG_ALLOW_FRACTION) { - filter_map_update(&map, 2, (unsigned char *) "."); + filter_map_update(&map, 2, (const unsigned char *) "."); } if (flags & FILTER_FLAG_ALLOW_THOUSAND) { - filter_map_update(&map, 3, (unsigned char *) ","); + filter_map_update(&map, 3, (const unsigned char *) ","); } if (flags & FILTER_FLAG_ALLOW_SCIENTIFIC) { - filter_map_update(&map, 4, (unsigned char *) "eE"); + filter_map_update(&map, 4, (const unsigned char *) "eE"); } filter_map_apply(value, &map); }
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php