cvs: php-src /ext/spl spl_iterators.c

From: Date: Fri, 12 Aug 2005 20:58:28 +0000
Subject: cvs: php-src /ext/spl spl_iterators.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-33347@lists.php.net to get a copy of this message
tony2001 Fri Aug 12 16:58:28 2005 EDT Modified files: /php-src/ext/spl spl_iterators.c Log: shut up warnings http://cvs.php.net/diff.php/php-src/ext/spl/spl_iterators.c?r1=1.78&r2=1.79&ty=u Index: php-src/ext/spl/spl_iterators.c diff -u php-src/ext/spl/spl_iterators.c:1.78 php-src/ext/spl/spl_iterators.c:1.79 --- php-src/ext/spl/spl_iterators.c:1.78 Fri Aug 12 10:08:27 2005 +++ php-src/ext/spl/spl_iterators.c Fri Aug 12 16:58:28 2005 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: spl_iterators.c,v 1.78 2005/08/12 14:08:27 sebastian Exp $ */ +/* $Id: spl_iterators.c,v 1.79 2005/08/12 20:58:28 tony2001 Exp $ */ #ifdef HAVE_CONFIG_H # include "config.h" @@ -952,7 +952,7 @@ } else if (intern->current.key_type == HASH_KEY_IS_BINARY) { RETURN_BINARYL(intern->current.str_key, intern->current.str_key_len-1, 1); } else if (intern->current.key_type == HASH_KEY_IS_UNICODE) { - RETURN_UNICODEL(intern->current.str_key, intern->current.str_key_len-1, 1); + RETURN_UNICODEL((UChar *)intern->current.str_key, intern->current.str_key_len-1, 1); } else { RETURN_LONG(intern->current.int_key); }

« previous php.cvs (#33347) next »