From: Antony Dovgal Date: Mon, 15 Aug 2005 23:01:42 +0000 (+0000) Subject: eliminate compile warning X-Git-Tag: PRE_NEW_OCI8_EXTENSION~233 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=760313346a5cb48a40e35884176ac9c09b73434d;p=php eliminate compile warning --- diff --git a/ext/spl/spl_functions.c b/ext/spl/spl_functions.c index e86d723234..561cd97400 100755 --- a/ext/spl/spl_functions.c +++ b/ext/spl/spl_functions.c @@ -120,7 +120,7 @@ void spl_add_class_name(zval *list, zend_class_entry * pce, int allow, int ce_fl if (zend_u_hash_find(Z_ARRVAL_P(list), ztype, pce->name, len+1, (void*)&tmp) == FAILURE) { MAKE_STD_ZVAL(tmp); if (UG(unicode)) { - ZVAL_UNICODEL(tmp, pce->name, pce->name_length, 1); + ZVAL_UNICODEL(tmp, (UChar *)pce->name, pce->name_length, 1); } else { ZVAL_STRINGL(tmp, pce->name, pce->name_length, 1); }