Skip to content

Commit 0b60f32

Browse files
committed
Merge branch 'master' of https://git.php.net/repository/php-src
* 'master' of https://git.php.net/repository/php-src: Suppress compliation warning "warning: passing argument 1 of ‘_efree’ discards qualifiers from pointer target type"
2 parents d9bfe06 + 71ba571 commit 0b60f32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/intl/intl_data.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ typedef struct _intl_data {
7979
int u8len; \
8080
intl_convert_utf16_to_utf8(&u8value, &u8len, ustring, ulen, &INTL_DATA_ERROR_CODE((obj))); \
8181
if((free_it)) { \
82-
efree(ustring); \
82+
efree((void *)ustring); \
8383
} \
8484
INTL_METHOD_CHECK_STATUS((obj), "Error converting value to UTF-8"); \
8585
RETVAL_STRINGL(u8value, u8len, 0); \

0 commit comments

Comments
 (0)