From f38bd22ed2c5f710f72e719d7ab2a41ce30541fc Mon Sep 17 00:00:00 2001 From: Christopher Jones Date: Wed, 21 Aug 2013 15:06:23 -0700 Subject: [PATCH] =?UTF-8?q?Suppress=20compliation=20warning=20"warning:=20?= =?UTF-8?q?passing=20argument=201=20of=20=E2=80=98=5Fefree=E2=80=99=20disc?= =?UTF-8?q?ards=20qualifiers=20from=20pointer=20target=20type"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 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 66ca27ae796..6966dc28910 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(ustring); \ + efree((void *)ustring); \ } \ INTL_METHOD_CHECK_STATUS((obj), "Error converting value to UTF-8"); \ RETVAL_STRINGL(u8value, u8len, 0); \