this should be uint32

This commit is contained in:
Anatol Belski 2014-10-22 16:13:21 +02:00
parent 36ce467402
commit 09a01a834e

View file

@ -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;