diff options
author | Christopher Jones <sixd@php.net> | 2013-08-22 09:05:52 -0700 |
---|---|---|
committer | Christopher Jones <sixd@php.net> | 2013-08-22 09:05:52 -0700 |
commit | 7109f369e848384444a852cd0f0c591fd58a1bc4 (patch) | |
tree | 1285ae5af1afc2819d3bbefafa03710b03fa095c | |
parent | f2ceb4963e1ecce4535d3a9b1e3dfa6960aff2c6 (diff) | |
download | php-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.c | 2 |
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: |