diff options
-rw-r--r-- | common/json.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |