1
0
mirror of https://github.com/php/php-src.git synced 2026-04-14 19:41:05 +02:00

Suppress compliation warning "warning: passing argument 1 of ‘_efree’ discards qualifiers from pointer target type"

This commit is contained in:
Christopher Jones
2013-08-21 15:06:23 -07:00
parent d8023d13eb
commit f38bd22ed2

View File

@@ -79,7 +79,7 @@ typedef struct _intl_data {
int u8len; \
intl_convert_utf16_to_utf8(&u8value, &u8len, ustring, ulen, &INTL_DATA_ERROR_CODE((obj))); \
if((free_it)) { \
efree(ustring); \
efree((void *)ustring); \
} \
INTL_METHOD_CHECK_STATUS((obj), "Error converting value to UTF-8"); \
RETVAL_STRINGL(u8value, u8len, 0); \