]> granicus.if.org Git - php/commitdiff
[0.25]
authorDerick Rethans <derick@php.net>
Fri, 24 Sep 2004 13:07:18 +0000 (13:07 +0000)
committerDerick Rethans <derick@php.net>
Fri, 24 Sep 2004 13:07:18 +0000 (13:07 +0000)
- Fixed some signed issues.

ext/standard/array.c
ext/standard/file.c

index d85fc33aa0fcfffae26e8ffe39df28608d84f40c..fa104f5ca90dd838350fdaae7cd524cc9c949b28 100644 (file)
@@ -1712,7 +1712,7 @@ static void _phpi_pop(INTERNAL_FUNCTION_PARAMETERS, int off_the_end)
        zval       **stack,                     /* Input stack */
                           **val;                       /* Value to be popped */
        char *key = NULL;
-       int key_len = 0;
+       uint key_len = 0;
        ulong index;
        
        /* Get the arguments and do error-checking */
index f798105e889b7ebc61294d8621bd6ba110befda1..86230d15674836497e15141c708cc8620ea830dd 100644 (file)
@@ -909,7 +909,7 @@ static int parse_context_options(php_stream_context *context, zval *options)
        HashPosition pos, opos;
        zval **wval, **oval;
        char *wkey, *okey;
-       int wkey_len, okey_len;
+       uint wkey_len, okey_len;
        int ret = SUCCESS;
        ulong num_key;