From 5ffa34b811ac8ad76ca5dd833398bda06a129614 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Sun, 21 Oct 2018 21:11:41 +0100 Subject: [PATCH] fix warning about signed differ --- tests/unit/json.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/json.cpp b/tests/unit/json.cpp index 4cb6771dd..252484090 100644 --- a/tests/unit/json.cpp +++ b/tests/unit/json.cpp @@ -86,7 +86,7 @@ ParameterizedTest(struct param *p, json, json_load_cli) cr_assert_not_null(json); auto argv = new const char*[p->argv.size() + 1]; - for (int i = 0; i < p->argv.size(); i++) + for (unsigned i = 0; i < p->argv.size(); i++) argv[i] = p->argv[i].c_str(); argv[p->argv.size()] = nullptr;