From b6947205408c2ca6d0e03c35577b2c5edb768c15 Mon Sep 17 00:00:00 2001 From: David Lamparter Date: Fri, 28 Jun 2013 18:47:21 +0000 Subject: Fix signed/unsigned warning --- jsonrpc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jsonrpc.c b/jsonrpc.c index e3a2942..b800895 100644 --- a/jsonrpc.c +++ b/jsonrpc.c @@ -233,7 +233,7 @@ char *jsonrpc_handler(const char *input, size_t input_len, struct jsonrpc_method json_response = jsonrpc_error_response(NULL, jsonrpc_error_object(JSONRPC_INVALID_REQUEST, NULL)); } else { - int k; + size_t k; json_response = NULL; for (k=0; k < len; k++) { json_t *req = json_array_get(json_request, k); -- cgit v1.2.1