diff options
author | lloyd <[email protected]> | 2010-12-13 22:12:41 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-12-13 22:12:41 +0000 |
commit | 165b6777241bdff9650d9c024792f4f549949a41 (patch) | |
tree | ff35d146a9bce1b492886ad1e00f1fa91c1a5afe /checks/bench.cpp | |
parent | aa8a0c19ec2156864d16bfe4b82fce4f2203c08d (diff) |
More VC warning fixes
Diffstat (limited to 'checks/bench.cpp')
-rw-r--r-- | checks/bench.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/checks/bench.cpp b/checks/bench.cpp index d43efd10a..e9eb92199 100644 --- a/checks/bench.cpp +++ b/checks/bench.cpp @@ -209,8 +209,8 @@ bool bench_algo(const std::string& algo, return false; } - u32bit cipher_keylen = proto_cipher->maximum_keylength(); - u32bit cipher_ivlen = proto_cipher->block_size(); + size_t cipher_keylen = proto_cipher->maximum_keylength(); + const size_t cipher_ivlen = proto_cipher->block_size(); if(algo_parts[1] == "XTS") cipher_keylen *= 2; // hack! |