From: Pierre Joye Date: Sat, 22 Jul 2006 12:59:15 +0000 (+0000) Subject: - hopla, before I got more conflicts ;) X-Git-Tag: php-5.2.0RC1~25 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4219fe6c66567a619dda389a4ca632f9e98185b6;p=php - hopla, before I got more conflicts ;) (fix compiler warnings with latest const char changes) --- diff --git a/ext/filter/sanitizing_filters.c b/ext/filter/sanitizing_filters.c index 50341f1325..c4850557e9 100644 --- a/ext/filter/sanitizing_filters.c +++ b/ext/filter/sanitizing_filters.c @@ -303,13 +303,13 @@ void php_filter_number_float(PHP_INPUT_FILTER_PARAM_DECL) /* 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); }