1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Fix argument signedness of dom_sanity_check_node_list_types() (#13875)

This commit is contained in:
Niels Dossche
2024-04-03 18:18:24 +02:00
committed by GitHub
parent 5ca72eca8e
commit bb1688d732

View File

@@ -433,7 +433,7 @@ err:
return NULL;
}
static zend_result dom_sanity_check_node_list_types(zval *nodes, int nodesc, zend_class_entry *node_ce)
static zend_result dom_sanity_check_node_list_types(zval *nodes, uint32_t nodesc, zend_class_entry *node_ce)
{
for (uint32_t i = 0; i < nodesc; i++) {
zend_uchar type = Z_TYPE(nodes[i]);