]> granicus.if.org Git - php/commitdiff
Revert "Suppress compliation warning "warning: passing argument 1 of ‘_efree’ discard...
authorChristopher Jones <sixd@php.net>
Thu, 22 Aug 2013 15:57:18 +0000 (08:57 -0700)
committerChristopher Jones <sixd@php.net>
Thu, 22 Aug 2013 15:57:18 +0000 (08:57 -0700)
This reverts commit f38bd22ed2c5f710f72e719d7ab2a41ce30541fc.

ext/intl/intl_data.h

index 6966dc289100bac368ec705a60a729b1315e7fe1..66ca27ae796827040acbed02ed98dd56c1608375 100644 (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((void *)ustring);                                                                                                                                 \
+               efree(ustring);                                                                                                                                                 \
        }                                                                                                                                                                                       \
        INTL_METHOD_CHECK_STATUS((obj), "Error converting value to UTF-8");                                                     \
        RETVAL_STRINGL(u8value, u8len, 0);                                                                                                                      \