aboutsummaryrefslogtreecommitdiff
path: root/tests/test_olm_decrypt.cpp
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2016-05-18 18:03:28 +0100
committerRichard van der Hoff <richard@matrix.org>2016-05-23 18:08:22 +0100
commite21d5cb2229c8c868fad896c08e7c25c103b824a (patch)
tree276b6e10159876c3874a8d7ee5ef64f60411b036 /tests/test_olm_decrypt.cpp
parentea130cae0db3d68a49ae2059b2568eb8504e84b6 (diff)
Fix warnings and set -Werror
Diffstat (limited to 'tests/test_olm_decrypt.cpp')
-rw-r--r--tests/test_olm_decrypt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_olm_decrypt.cpp b/tests/test_olm_decrypt.cpp
index 2a2db98..4ec873c 100644
--- a/tests/test_olm_decrypt.cpp
+++ b/tests/test_olm_decrypt.cpp
@@ -67,7 +67,7 @@ int main() {
{
TestCase my_test("Olm decrypt test");
-for (int i = 0; i < sizeof(test_cases)/ sizeof(const char *); ++i) {
+for (unsigned int i = 0; i < sizeof(test_cases)/ sizeof(const char *); ++i) {
decrypt_case(0, test_cases[i]);
}