Skip to content

Commit a29264e

Browse files
committed
fix datatype
1 parent 4903f04 commit a29264e

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
@@ -1365,7 +1365,7 @@ static int php_var_unserialize_internal(UNSERIALIZE_PARAMETER)
13651365
++YYCURSOR;
13661366
#line 794 "ext/standard/var_unserializer.re"
13671367
{
1368-
long elements;
1368+
zend_long elements;
13691369
if (!var_hash) return 0;
13701370

13711371
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
@@ -792,7 +792,7 @@ use_double:
792792
}
793793
794794
"o:" iv ":" ["] {
795-
long elements;
795+
zend_long elements;
796796
if (!var_hash) return 0;
797797

798798
elements = object_common1(UNSERIALIZE_PASSTHRU, ZEND_STANDARD_CLASS_DEF_PTR);

0 commit comments

Comments
 (0)