Skip to content

Commit 7109f36

Browse files
committed
Suppress compliation warning "warning: passing argument 1 of ‘_efree’ discards qualifiers from pointer target type"
1 parent f2ceb49 commit 7109f36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/intl/resourcebundle/resourcebundle.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ void resourcebundle_extract_value( zval *return_value, ResourceBundle_object *so
4141
case URES_STRING:
4242
ufield = ures_getString( source->child, &ilen, &INTL_DATA_ERROR_CODE(source) );
4343
INTL_METHOD_CHECK_STATUS(source, "Failed to retrieve string value");
44-
INTL_METHOD_RETVAL_UTF8(source, ufield, ilen, 0);
44+
INTL_METHOD_RETVAL_UTF8(source, (UChar *)ufield, ilen, 0);
4545
break;
4646

4747
case URES_BINARY:

0 commit comments

Comments
 (0)