From ca77173afb867e1007625d0b02d529e73bfc9b02 Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Wed, 11 Jan 2012 15:04:14 +0000 Subject: [PATCH] Fixed incorrect type cast --- ext/standard/php_var.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.50.1