From a61f5bf925837ad39962f5d128b748f1c0c3b321 Mon Sep 17 00:00:00 2001 From: Christopher Jones Date: Thu, 22 Aug 2013 08:57:18 -0700 Subject: [PATCH] =?UTF-8?q?Revert=20"Suppress=20compliation=20warning=20"w?= =?UTF-8?q?arning:=20passing=20argument=201=20of=20=E2=80=98=5Fefree?= =?UTF-8?q?=E2=80=99=20discards=20qualifiers=20from=20pointer=20target=20t?= =?UTF-8?q?ype""?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit f38bd22ed2c5f710f72e719d7ab2a41ce30541fc. --- ext/intl/intl_data.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/intl/intl_data.h b/ext/intl/intl_data.h index 6966dc28910..66ca27ae796 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); \