diff options
-rw-r--r-- | ext/mbstring/mbstring.c | 4 | ||||
-rw-r--r-- | ext/mbstring/php_mbregex.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/ext/mbstring/mbstring.c b/ext/mbstring/mbstring.c index 502b6dcd8a..2e9ebbd493 100644 --- a/ext/mbstring/mbstring.c +++ b/ext/mbstring/mbstring.c @@ -197,7 +197,7 @@ function_entry mbstring_functions[] = { PHP_FE(mb_http_output, NULL) PHP_FE(mb_detect_order, NULL) PHP_FE(mb_substitute_character, NULL) - PHP_FE(mb_parse_str, (unsigned char *)second_arg_force_ref) + PHP_FE(mb_parse_str, second_arg_force_ref) PHP_FE(mb_output_handler, NULL) PHP_FE(mb_preferred_mime_name, NULL) PHP_FE(mb_strlen, NULL) @@ -213,7 +213,7 @@ function_entry mbstring_functions[] = { PHP_FE(mb_convert_kana, NULL) PHP_FE(mb_encode_mimeheader, NULL) PHP_FE(mb_decode_mimeheader, NULL) - PHP_FE(mb_convert_variables, (unsigned char *)third_and_rest_force_ref) + PHP_FE(mb_convert_variables, third_and_rest_force_ref) PHP_FE(mb_encode_numericentity, NULL) PHP_FE(mb_decode_numericentity, NULL) PHP_FE(mb_send_mail, NULL) diff --git a/ext/mbstring/php_mbregex.h b/ext/mbstring/php_mbregex.h index 22dd029de7..3726ee03c1 100644 --- a/ext/mbstring/php_mbregex.h +++ b/ext/mbstring/php_mbregex.h @@ -44,8 +44,8 @@ #define PHP_MBREGEX_FUNCTION_ENTRIES \ PHP_FE(mb_regex_encoding, NULL) \ PHP_FE(mb_regex_set_options, NULL) \ - PHP_FE(mb_ereg, (unsigned char *)third_argument_force_ref) \ - PHP_FE(mb_eregi, (unsigned char *)third_argument_force_ref) \ + PHP_FE(mb_ereg, third_arg_force_ref) \ + PHP_FE(mb_eregi, third_arg_force_ref) \ PHP_FE(mb_ereg_replace, NULL) \ PHP_FE(mb_eregi_replace, NULL) \ PHP_FE(mb_split, NULL) \ |