From: Dmitry Stogov Date: Wed, 11 Jan 2012 15:04:14 +0000 (+0000) Subject: Fixed incorrect type cast X-Git-Tag: php-5.5.0alpha1~627 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fc2d10a4d3359eb4933623d4acac0e50bd79ea2c;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)