summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorChristopher Jones <sixd@php.net>2013-08-22 08:58:35 -0700
committerChristopher Jones <sixd@php.net>2013-08-22 08:58:35 -0700
commit18282f42c5d39e6b1790dfa7b2e18becc21d2f23 (patch)
tree1a9c76e8153c8d5d7a9e8a059001f55ef39f4d01 /ext
parent908da14bd1131c5c35d3f206734e9f8f42872b33 (diff)
downloadphp-git-18282f42c5d39e6b1790dfa7b2e18becc21d2f23.tar.gz
Revert "Suppress compliation warning "warning: passing argument 1 of ‘_efree’ discards qualifiers from pointer target type""
This reverts commit f38bd22ed2c5f710f72e719d7ab2a41ce30541fc.
Diffstat (limited to 'ext')
-rw-r--r--ext/intl/intl_data.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/intl/intl_data.h b/ext/intl/intl_data.h
index 6966dc2891..66ca27ae79 100644
--- a/ext/intl/intl_data.h
+++ b/ext/intl/intl_data.h
@@ -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((void *)ustring); \
+ efree(ustring); \
} \
INTL_METHOD_CHECK_STATUS((obj), "Error converting value to UTF-8"); \
RETVAL_STRINGL(u8value, u8len, 0); \