com php-src: Revert "Suppress compliation warning "warning: passing argument 1 of ‘_efree’ discards qualifier s from pointer target type"":
ext/intl/intl_d ata.h
| From: | Christopher Jones | Date: | Thu, 22 Aug 2013 15:58:35 +0000 |
| Subject: | com php-src: Revert "Suppress compliation warning "warning: passing argument 1 of ‘_efree’ discards qualifier s from pointer target type"": ext/intl/intl_d ata.h |
||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-73079@lists.php.net to get a copy of this message | ||
Commit: 18282f42c5d39e6b1790dfa7b2e18becc21d2f23
Author: Christopher Jones <sixd@php.net> Thu, 22 Aug 2013 08:58:35 -0700
Parents: 908da14bd1131c5c35d3f206734e9f8f42872b33
Branches: PHP-5.5 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=18282f42c5d39e6b1790dfa7b2e18becc21d2f23
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); \