diff options
author | Jack Lloyd <[email protected]> | 2017-09-10 08:12:11 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2017-09-10 08:12:11 -0400 |
commit | 1e89e629a30e7efa86bd1191c5aa49b8d77a6d18 (patch) | |
tree | 57b7e4a02cb14521c379730060fc57268e63d9e3 /src/tests/test_passhash.cpp | |
parent | 54ddc8ea26bcfbf55c15a943c44a4a8b233608cd (diff) |
Fix a couple more VC warnings
Diffstat (limited to 'src/tests/test_passhash.cpp')
-rw-r--r-- | src/tests/test_passhash.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/test_passhash.cpp b/src/tests/test_passhash.cpp index a583c0eb8..21085ff34 100644 --- a/src/tests/test_passhash.cpp +++ b/src/tests/test_passhash.cpp @@ -108,9 +108,9 @@ class Passhash9_Tests : public Text_Based_Test } } - const size_t max_level = (Test::run_long_tests() ? 14 : 8); + const uint16_t max_level = (Test::run_long_tests() ? 14 : 8); - for(size_t level = 1; level <= max_level; ++level) + for(uint16_t level = 1; level <= max_level; ++level) { const uint8_t alg_id = 1; // default used by generate_passhash9() if(Botan::is_passhash9_alg_supported(alg_id)) |