com php-src: Fixed incompatible pointer: ext/session/session.c

From: Date: Tue, 26 Aug 2014 04:19:06 +0000
Subject: com php-src: Fixed incompatible pointer: ext/session/session.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-81108@lists.php.net to get a copy of this message
Commit: dc6cd48efbd15ed3f2bdeae36b8dc3d125b838c4 Author: Xinchen Hui <laruence@php.net> Tue, 26 Aug 2014 12:14:45 +0800 Parents: 80dd7646127ce00e86af8f6638ab45706495d117 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=dc6cd48efbd15ed3f2bdeae36b8dc3d125b838c4 Log: Fixed incompatible pointer Changed paths: M ext/session/session.c Diff: diff --git a/ext/session/session.c b/ext/session/session.c index af1d50c..c765a66 100644 --- a/ext/session/session.c +++ b/ext/session/session.c @@ -850,7 +850,7 @@ PS_SERIALIZER_DECODE_FUNC(php_serialize) /* {{{ */ ZVAL_NULL(&session_vars); PHP_VAR_UNSERIALIZE_INIT(var_hash); - php_var_unserialize(&session_vars, &val, endptr, &var_hash TSRMLS_CC); + php_var_unserialize(&session_vars, (const unsigned char **)&val, endptr, &var_hash TSRMLS_CC); PHP_VAR_UNSERIALIZE_DESTROY(var_hash); if (!Z_ISUNDEF(PS(http_session_vars))) { zval_ptr_dtor(&PS(http_session_vars));

« previous php.cvs (#81108) next »