tony2001 Mon Aug 15 19:01:44 2005 EDT Modified files: /php-src/ext/spl spl_functions.c Log: eliminate compile warning http://cvs.php.net/diff.php/php-src/ext/spl/spl_functions.c?r1=1.30&r2=1.31&ty=u Index: php-src/ext/spl/spl_functions.c diff -u php-src/ext/spl/spl_functions.c:1.30 php-src/ext/spl/spl_functions.c:1.31 --- php-src/ext/spl/spl_functions.c:1.30 Mon Aug 15 13:29:04 2005 +++ php-src/ext/spl/spl_functions.c Mon Aug 15 19:01:42 2005 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: spl_functions.c,v 1.30 2005/08/15 17:29:04 dmitry Exp $ */ +/* $Id: spl_functions.c,v 1.31 2005/08/15 23:01:42 tony2001 Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -120,7 +120,7 @@ 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); }
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php