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);
                }

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to