From 939b1d11f0b190c4fd4e1d27975022e3766ccaf8 Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Sat, 31 Oct 2015 19:54:57 +0000 Subject: [PATCH] daemon_deprecated_rpc: fix signedness warning --- src/rpc/daemon_deprecated_rpc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rpc/daemon_deprecated_rpc.cpp b/src/rpc/daemon_deprecated_rpc.cpp index cd02120ee..b41bd7cbc 100644 --- a/src/rpc/daemon_deprecated_rpc.cpp +++ b/src/rpc/daemon_deprecated_rpc.cpp @@ -833,7 +833,7 @@ namespace uint64_t start_height = request_json["start_height"].GetUint(); uint64_t block_count = request_json["blocks_ids"].Size(); zlist_t *list = zlist_new(); - for (int i = 0; i < block_count; i++) { + for (uint64_t i = 0; i < block_count; i++) { if (!request_json["blocks_ids"][i].IsString()) { zlist_destroy(&list); return ns_rpc_create_error(buf, len, req, invalid_params,