]> granicus.if.org Git - php/commitdiff
Use ZEND_U_CONVERTER().
authorAndrei Zmievski <andrei@php.net>
Thu, 19 Apr 2007 15:36:51 +0000 (15:36 +0000)
committerAndrei Zmievski <andrei@php.net>
Thu, 19 Apr 2007 15:36:51 +0000 (15:36 +0000)
Zend/zend_unicode.c

index b4f0bcda37fe1ff8c47670e9c6dd508e3b233778..929ac20aa2aff1bed827cd2abed4a80b7fa096ed 100644 (file)
@@ -598,7 +598,7 @@ ZEND_API int zend_string_to_unicode(UConverter *conv, UChar **u, int *u_len, cha
        int num_conv;
 
        if (conv == NULL) {
-               conv = UG(runtime_encoding_conv);
+               conv = ZEND_U_CONVERTER(UG(runtime_encoding_conv));
        }
 
        num_conv = zend_string_to_unicode_ex(conv, u, u_len, s, s_len, &status);