From fc5b349789240268a0eb80612eb61889fd80d818 Mon Sep 17 00:00:00 2001 From: Anatol Belski Date: Mon, 9 Feb 2015 10:47:39 +0100 Subject: [PATCH] size_t vs int --- ext/json/json_encoder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/json/json_encoder.c b/ext/json/json_encoder.c index f219b50263..8fabf77d83 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; -- 2.40.0