cvs: php-src /ext/standard array.c
| From: | Antony Dovgal | Date: | Fri, 02 Nov 2007 12:03:25 +0000 |
| Subject: | cvs: php-src /ext/standard array.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-46914@lists.php.net to get a copy of this message | ||
tony2001 Fri Nov 2 12:03:25 2007 UTC
Modified files:
/php-src/ext/standard array.c
Log:
fix typo and silence compile warning
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/array.c?r1=1.425&r2=1.426&diff_format=u
Index: php-src/ext/standard/array.c
diff -u php-src/ext/standard/array.c:1.425 php-src/ext/standard/array.c:1.426
--- php-src/ext/standard/array.c:1.425 Fri Nov 2 11:48:35 2007
+++ php-src/ext/standard/array.c Fri Nov 2 12:03:25 2007
@@ -21,7 +21,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: array.c,v 1.425 2007/11/02 11:48:35 jani Exp $ */
+/* $Id: array.c,v 1.426 2007/11/02 12:03:25 tony2001 Exp $ */
#include "php.h"
#include "php_ini.h"
@@ -2304,9 +2304,9 @@
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;