tony2001                Tue Jan 27 14:50:27 2009 UTC

  Modified files:              (Branch: PHP_5_3)
    /php-src/ext/spl    spl_array.c 
  Log:
  fix compile warning
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/spl/spl_array.c?r1=1.71.2.17.2.13.2.37&r2=1.71.2.17.2.13.2.38&diff_format=u
Index: php-src/ext/spl/spl_array.c
diff -u php-src/ext/spl/spl_array.c:1.71.2.17.2.13.2.37 
php-src/ext/spl/spl_array.c:1.71.2.17.2.13.2.38
--- php-src/ext/spl/spl_array.c:1.71.2.17.2.13.2.37     Wed Dec 31 11:15:43 2008
+++ php-src/ext/spl/spl_array.c Tue Jan 27 14:50:27 2009
@@ -16,7 +16,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: spl_array.c,v 1.71.2.17.2.13.2.37 2008/12/31 11:15:43 sebastian Exp $ 
*/
+/* $Id: spl_array.c,v 1.71.2.17.2.13.2.38 2009/01/27 14:50:27 tony2001 Exp $ */
 
 #ifdef HAVE_CONFIG_H
 # include "config.h"
@@ -1725,7 +1725,7 @@
                zval *zdata;
                php_unserialize_data_t *before;
                MAKE_STD_ZVAL(zdata);
-               ZVAL_STRINGL(zdata, buf, buf_len, 1);
+               ZVAL_STRINGL(zdata, (char *)buf, buf_len, 1);
 
                before = intern->unserialize_data;
                intern->unserialize_data = (php_unserialize_data_t *)data;



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

Reply via email to