From: Derick Rethans Date: Fri, 24 Sep 2004 13:07:18 +0000 (+0000) Subject: [0.25] X-Git-Tag: php-4.3.10RC1~76 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=31f503c1aa85631190c6e6fbdf5736312853f48b;p=php [0.25] - Fixed some signed issues. --- diff --git a/ext/standard/array.c b/ext/standard/array.c index d85fc33aa0..fa104f5ca9 100644 --- a/ext/standard/array.c +++ b/ext/standard/array.c @@ -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 */ diff --git a/ext/standard/file.c b/ext/standard/file.c index f798105e88..86230d1567 100644 --- a/ext/standard/file.c +++ b/ext/standard/file.c @@ -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;