From 02188d66c44ef2a33e8a1b28b359b639df13e7e1 Mon Sep 17 00:00:00 2001 From: Antony Dovgal Date: Fri, 2 Nov 2007 12:03:25 +0000 Subject: [PATCH] fix typo and silence compile warning --- ext/standard/array.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/standard/array.c b/ext/standard/array.c index a54630a5b5..29859d28a4 100644 --- a/ext/standard/array.c +++ b/ext/standard/array.c @@ -2304,9 +2304,9 @@ PHP_FUNCTION(array_slice) zend_bool preserve_keys = 0; /* Whether to preserve keys while copying to the new array or not */ int num_in, /* Number of elements in the input array */ pos; /* Current position in the array */ - zval *lenght_param; + zval *length_param; zstr string_key; - int string_key_len; + uint string_key_len; ulong num_key; HashPosition hpos; -- 2.50.1