mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
this should be uint32
This commit is contained in:
parent
36ce467402
commit
09a01a834e
1 changed files with 1 additions and 1 deletions
|
@ -2314,7 +2314,7 @@ PHP_FUNCTION(array_slice)
|
|||
}
|
||||
|
||||
/* Initialize returned array */
|
||||
array_init_size(return_value, length > 0 ? (uint)length : 0);
|
||||
array_init_size(return_value, length > 0 ? (uint32_t)length : 0);
|
||||
|
||||
if (length <= 0) {
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue