summaryrefslogtreecommitdiff
path: root/jsonrpc.c
diff options
context:
space:
mode:
Diffstat (limited to 'jsonrpc.c')
-rw-r--r--jsonrpc.c2
1 files changed, 1 insertions, 1 deletions
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);