]> granicus.if.org Git - php/commitdiff
fix typo and silence compile warning
authorAntony Dovgal <tony2001@php.net>
Fri, 2 Nov 2007 12:03:25 +0000 (12:03 +0000)
committerAntony Dovgal <tony2001@php.net>
Fri, 2 Nov 2007 12:03:25 +0000 (12:03 +0000)
ext/standard/array.c

index a54630a5b5b9d94ee80476e8928ea47ca7012937..29859d28a406d7afac36faf053c24bd0800237d1 100644 (file)
@@ -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;