Skip to content

Commit f2ceb49

Browse files
committed
Revert "Suppress compliation warning "warning: passing argument 1 of ‘_efree’ discards qualifiers from pointer target type""
This reverts commit f38bd22.
1 parent d598747 commit f2ceb49

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((void *)ustring); \
82+
efree(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)