aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorWillem Jan Palenstijn2016-08-30 21:52:19 +0200
committerWillem Jan Palenstijn2016-08-30 21:53:22 +0200
commit3b2bdd3a89bf75957b9139b0f5061df516b03632 (patch)
tree405bcc166a75da5ac5156f1804960ff69345531f /common
parentfb592a0dbda7b57c38b643e4f04ca9640c6986af (diff)
downloadscummvm-rg350-3b2bdd3a89bf75957b9139b0f5061df516b03632.tar.gz
scummvm-rg350-3b2bdd3a89bf75957b9139b0f5061df516b03632.tar.bz2
scummvm-rg350-3b2bdd3a89bf75957b9139b0f5061df516b03632.zip
COMMON: Fix sign warning
Diffstat (limited to 'common')
-rw-r--r--common/json.cpp2
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;
}