summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Jones <sixd@php.net>2013-08-22 09:05:52 -0700
committerChristopher Jones <sixd@php.net>2013-08-22 09:05:52 -0700
commit7109f369e848384444a852cd0f0c591fd58a1bc4 (patch)
tree1285ae5af1afc2819d3bbefafa03710b03fa095c
parentf2ceb4963e1ecce4535d3a9b1e3dfa6960aff2c6 (diff)
downloadphp-git-7109f369e848384444a852cd0f0c591fd58a1bc4.tar.gz
Suppress compliation warning "warning: passing argument 1 of ‘_efree’ discards qualifiers from pointer target type"
-rw-r--r--ext/intl/resourcebundle/resourcebundle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/intl/resourcebundle/resourcebundle.c b/ext/intl/resourcebundle/resourcebundle.c
index 6d39dfb7e0..f5475faf1c 100644
--- a/ext/intl/resourcebundle/resourcebundle.c
+++ b/ext/intl/resourcebundle/resourcebundle.c
@@ -41,7 +41,7 @@ void resourcebundle_extract_value( zval *return_value, ResourceBundle_object *so
case URES_STRING:
ufield = ures_getString( source->child, &ilen, &INTL_DATA_ERROR_CODE(source) );
INTL_METHOD_CHECK_STATUS(source, "Failed to retrieve string value");
- INTL_METHOD_RETVAL_UTF8(source, ufield, ilen, 0);
+ INTL_METHOD_RETVAL_UTF8(source, (UChar *)ufield, ilen, 0);
break;
case URES_BINARY: