mirror of
https://github.com/php/php-src.git
synced 2024-12-17 22:09:12 +08:00
Revert "Suppress compliation warning "warning: passing argument 1 of ‘_efree’ discards qualifiers from pointer target type""
This reverts commit f38bd22ed2
.
This commit is contained in:
parent
80917e5ca2
commit
a61f5bf925
@ -79,7 +79,7 @@ typedef struct _intl_data {
|
|||||||
int u8len; \
|
int u8len; \
|
||||||
intl_convert_utf16_to_utf8(&u8value, &u8len, ustring, ulen, &INTL_DATA_ERROR_CODE((obj))); \
|
intl_convert_utf16_to_utf8(&u8value, &u8len, ustring, ulen, &INTL_DATA_ERROR_CODE((obj))); \
|
||||||
if((free_it)) { \
|
if((free_it)) { \
|
||||||
efree((void *)ustring); \
|
efree(ustring); \
|
||||||
} \
|
} \
|
||||||
INTL_METHOD_CHECK_STATUS((obj), "Error converting value to UTF-8"); \
|
INTL_METHOD_CHECK_STATUS((obj), "Error converting value to UTF-8"); \
|
||||||
RETVAL_STRINGL(u8value, u8len, 0); \
|
RETVAL_STRINGL(u8value, u8len, 0); \
|
||||||
|
Loading…
Reference in New Issue
Block a user