diff options
author | Joshua Haberman <jhaberman@gmail.com> | 2015-05-06 17:12:06 -0700 |
---|---|---|
committer | Joshua Haberman <jhaberman@gmail.com> | 2015-05-06 17:12:06 -0700 |
commit | bd7ea8c6f1854aa37b7792c6f23334ffc0fd94ff (patch) | |
tree | da5a49a715a9af60fd6630e3462ad0b1bf8781c0 /tests/json/test_json.cc | |
parent | 535bc2fe2f2b467f59347ffc9449e11e47791257 (diff) | |
parent | 508c39ee133d6725a4440ba98a1555e2026975c2 (diff) |
Merge pull request #16 from martinmaly/warnings
Resolve compilation errors if compiled with strict warnings.
Diffstat (limited to 'tests/json/test_json.cc')
-rw-r--r-- | tests/json/test_json.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/json/test_json.cc b/tests/json/test_json.cc index 4465c76..828e603 100644 --- a/tests/json/test_json.cc +++ b/tests/json/test_json.cc @@ -347,7 +347,7 @@ void test_json_roundtrip() { test_case->input : test_case->expected; - for (int i = 0; i < strlen(test_case->input); i++) { + for (size_t i = 0; i < strlen(test_case->input); i++) { test_json_roundtrip_message(test_case->input, expected, serialize_handlers.get(), i); } |