--- embedaddon/php/ext/intl/resourcebundle/resourcebundle.c 2012/02/21 23:47:56 1.1.1.1 +++ embedaddon/php/ext/intl/resourcebundle/resourcebundle.c 2013/10/14 08:02:21 1.1.1.3 @@ -1,4 +1,4 @@ - /* +/* +----------------------------------------------------------------------+ | PHP Version 5 | +----------------------------------------------------------------------+ @@ -41,7 +41,7 @@ void resourcebundle_extract_value( zval *return_value, 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: