com php-src: size_t vs int: ext/json/json_encoder .c

From: Date: Mon, 09 Feb 2015 09:47:39 +0000
Subject: com php-src: size_t vs int: ext/json/json_encoder .c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-84747@lists.php.net to get a copy of this message
Commit: fc5b349789240268a0eb80612eb61889fd80d818 Author: Anatol Belski <ab@php.net> Mon, 9 Feb 2015 10:47:39 +0100 Parents: a1208b4726e0c3438e6b08ce26e70a6c9d0d52bc Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=fc5b349789240268a0eb80612eb61889fd80d818 Log: size_t vs int Changed paths: M ext/json/json_encoder.c Diff: diff --git a/ext/json/json_encoder.c b/ext/json/json_encoder.c index f219b50..8fabf77 100644 --- a/ext/json/json_encoder.c +++ b/ext/json/json_encoder.c @@ -239,7 +239,7 @@ static void php_json_encode_array(smart_str *buf, zval *val, int options) /* {{{ } /* }}} */ -static int php_json_utf8_to_utf16(unsigned short *utf16, char utf8[], int len) /* {{{ */ +static int php_json_utf8_to_utf16(unsigned short *utf16, char utf8[], size_t len) /* {{{ */ { size_t pos = 0, us; int j, status;

« previous php.cvs (#84747) next »