aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-05-19 16:48:28 -0400
committerJack Lloyd <[email protected]>2017-05-19 16:48:28 -0400
commitb7200c05c6fe841cd5f4a5942a5be3d63124914e (patch)
treeedd385b8d92da3af861cb8dce0c9643078ff5704 /src/tests
parentdd2c8aa1707e59844ef4a30f01983b9ee5fe60fa (diff)
Fix warnings
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/test_modes.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/test_modes.cpp b/src/tests/test_modes.cpp
index 015aafa16..f6cb8890b 100644
--- a/src/tests/test_modes.cpp
+++ b/src/tests/test_modes.cpp
@@ -317,8 +317,8 @@ class Cipher_Mode_IV_Carry_Tests : public Test
dec->finish(msg);
- for(size_t i = 0; i != msg.size(); ++i)
- result.test_eq("Plaintext zeros", static_cast<size_t>(msg[i]), 0);
+ for(size_t j = 0; j != msg.size(); ++j)
+ result.test_eq("Plaintext zeros", static_cast<size_t>(msg[j]), 0);
}
#endif