summaryrefslogtreecommitdiff
path: root/ext/standard/php_var.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/php_var.h')
-rw-r--r--ext/standard/php_var.h2
1 files changed, 1 insertions, 1 deletions
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)