com php-src: fix php_sapi_filter: ext/filter/filter.c
| From: | Anatol Belski | Date: | Wed, 20 Aug 2014 13:14:25 +0000 |
| Subject: | com php-src: fix php_sapi_filter: ext/filter/filter.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-80728@lists.php.net to get a copy of this message | ||
Commit: 33d2442a32fe6d55b752e347f44826c5010b1aec
Author: Anatol Belski <ab@php.net> Wed, 20 Aug 2014 15:14:25 +0200
Parents: 745a71be33f8eafc8081add8c2c6a393b9deb349
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=33d2442a32fe6d55b752e347f44826c5010b1aec
Log:
fix php_sapi_filter
Changed paths:
M ext/filter/filter.c
Diff:
diff --git a/ext/filter/filter.c b/ext/filter/filter.c
index f84b001..08e01bd 100644
--- a/ext/filter/filter.c
+++ b/ext/filter/filter.c
@@ -77,7 +77,7 @@ static const filter_list_entry filter_list[] = {
#define PARSE_SESSION 6
#endif
-static unsigned int php_sapi_filter(int arg, char *var, char **val, unsigned int val_len, unsigned
int *new_val_len TSRMLS_DC);
+static unsigned int php_sapi_filter(int arg, char *var, char **val, php_size_t val_len, php_size_t
*new_val_len TSRMLS_DC);
static unsigned int php_sapi_filter_init(TSRMLS_D);
/* {{{ arginfo */
@@ -402,7 +402,7 @@ static void php_zval_filter(zval *value, php_int_t filter, php_int_t flags, zval
}
/* }}} */
-static unsigned int php_sapi_filter(int arg, char *var, char **val, unsigned int val_len, unsigned
int *new_val_len TSRMLS_DC) /* {{{ */
+static unsigned int php_sapi_filter(int arg, char *var, char **val, php_size_t val_len, php_size_t
*new_val_len TSRMLS_DC) /* {{{ */
{
zval new_var, raw_var;
zval *array_ptr = NULL, *orig_array_ptr = NULL;