Commit:    f2ceb4963e1ecce4535d3a9b1e3dfa6960aff2c6
Author:    Christopher Jones <s...@php.net>         Thu, 22 Aug 2013 08:58:24 
-0700
Parents:   d5987478a8fd566775510c08993cc933267a3765
Branches:  PHP-5.4 PHP-5.5 master

Link:       
http://git.php.net/?p=php-src.git;a=commitdiff;h=f2ceb4963e1ecce4535d3a9b1e3dfa6960aff2c6

Log:
Revert "Suppress compliation warning "warning: passing argument 1 of ‘_efree’ 
discards qualifiers from pointer target type""

This reverts commit f38bd22ed2c5f710f72e719d7ab2a41ce30541fc.

Changed paths:
  M  ext/intl/intl_data.h


Diff:
diff --git a/ext/intl/intl_data.h b/ext/intl/intl_data.h
index 6966dc2..66ca27a 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);                                      
                                                                                
\


--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to