Skip to content

Commit 41ba98f

Browse files
committed
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0: fix datatype
2 parents 396c0f7 + a29264e commit 41ba98f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ext/standard/var_unserializer.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1404,7 +1404,7 @@ static int php_var_unserialize_internal(UNSERIALIZE_PARAMETER)
14041404
++YYCURSOR;
14051405
#line 833 "ext/standard/var_unserializer.re"
14061406
{
1407-
long elements;
1407+
zend_long elements;
14081408
if (!var_hash) return 0;
14091409

14101410
elements = object_common1(UNSERIALIZE_PASSTHRU, ZEND_STANDARD_CLASS_DEF_PTR);

ext/standard/var_unserializer.re

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -831,7 +831,7 @@ use_double:
831831
}
832832
833833
"o:" iv ":" ["] {
834-
long elements;
834+
zend_long elements;
835835
if (!var_hash) return 0;
836836

837837
elements = object_common1(UNSERIALIZE_PASSTHRU, ZEND_STANDARD_CLASS_DEF_PTR);

0 commit comments

Comments
 (0)