From: Antony Dovgal Date: Fri, 2 Nov 2007 12:03:25 +0000 (+0000) Subject: fix typo and silence compile warning X-Git-Tag: RELEASE_2_0_0a1~1487 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=02188d66c44ef2a33e8a1b28b359b639df13e7e1;p=php fix typo and silence compile warning --- 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;