[php-src] master: Zend: use uint32_t type for lazy_properties_count
| From: | Gina Peter Banyard | Date: | Wed, 30 Sep 2026 14:44:26 +0000 |
| Subject: | [php-src] master: Zend: use uint32_t type for lazy_properties_count | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-141788@lists.php.net to get a copy of this message | ||
Author: Gina Peter Banyard (Girgias)
Date: 2026-09-30T15:44:06+01:00
Commit: https://github.com/php/php-src/commit/35dc0c5302dfcd76bab6d91a55b157385967624c
Raw diff: https://github.com/php/php-src/commit/35dc0c5302dfcd76bab6d91a55b157385967624c.diff
Zend: use uint32_t type for lazy_properties_count
Changed paths:
M Zend/zend_lazy_objects.c
Diff:
diff --git a/Zend/zend_lazy_objects.c b/Zend/zend_lazy_objects.c
index 3e5196c22bc6..af9db4ff33d9 100644
--- a/Zend/zend_lazy_objects.c
+++ b/Zend/zend_lazy_objects.c
@@ -62,7 +62,7 @@ typedef struct _zend_lazy_object_info {
zend_object *instance; /* For initialized lazy proxy objects */
} u;
zend_lazy_object_flags_t flags;
- int lazy_properties_count;
+ uint32_t lazy_properties_count;
} zend_lazy_object_info;
/* zend_hash dtor_func_t for zend_lazy_objects_store.infos */
@@ -260,7 +260,7 @@ ZEND_API zend_object *zend_object_make_lazy(zend_object *obj,
}
}
- int lazy_properties_count = 0;
+ uint32_t lazy_properties_count = 0;
if (!obj) {
if (UNEXPECTED(reflection_ce->ce_flags & ZEND_ACC_UNINSTANTIABLE)) {