From: Dmitry Stogov Date: Wed, 11 Jan 2012 15:04:14 +0000 (+0000) Subject: Fixed incorrect type cast X-Git-Tag: php-5.4.0RC6~16 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ca77173afb867e1007625d0b02d529e73bfc9b02;p=php Fixed incorrect type cast --- diff --git a/ext/standard/php_var.h b/ext/standard/php_var.h index f42144ec2d..479f1a354e 100644 --- a/ext/standard/php_var.h +++ b/ext/standard/php_var.h @@ -93,7 +93,7 @@ do { \ BG(unserialize).level = 1; \ } \ } else { \ - (var_hash_ptr) = (php_serialize_data_t)BG(unserialize).var_hash; \ + (var_hash_ptr) = (php_unserialize_data_t)BG(unserialize).var_hash; \ ++BG(unserialize).level; \ } \ } while (0)