From 3b2bdd3a89bf75957b9139b0f5061df516b03632 Mon Sep 17 00:00:00 2001 From: Willem Jan Palenstijn Date: Tue, 30 Aug 2016 21:52:19 +0200 Subject: COMMON: Fix sign warning --- common/json.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common') diff --git a/common/json.cpp b/common/json.cpp index d0e585ac3d..f999162a92 100644 --- a/common/json.cpp +++ b/common/json.cpp @@ -1092,7 +1092,7 @@ String JSONValue::indent(size_t depth) { const size_t indent_step = 2; depth ? --depth : 0; String indentStr; - for (int i = 0; i < depth * indent_step; ++i) indentStr += ' '; + for (size_t i = 0; i < depth * indent_step; ++i) indentStr += ' '; return indentStr; } -- cgit v1.2.3