aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/hash/mdx_hash
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2018-12-10 11:51:48 -0500
committerJack Lloyd <[email protected]>2018-12-10 11:52:05 -0500
commit162e102cb3d2a1ca0f750341dea634b6434139c0 (patch)
tree4af3d141f8cb6f67cb34b0fa849267d14fc2e41f /src/lib/hash/mdx_hash
parente4704821ab5ad67ff78d99e05ad2b1955b1e2e20 (diff)
Fix more MSVC warnings
Diffstat (limited to 'src/lib/hash/mdx_hash')
-rw-r--r--src/lib/hash/mdx_hash/mdx_hash.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/hash/mdx_hash/mdx_hash.cpp b/src/lib/hash/mdx_hash/mdx_hash.cpp
index 1dd631d04..5e58155ec 100644
--- a/src/lib/hash/mdx_hash/mdx_hash.cpp
+++ b/src/lib/hash/mdx_hash/mdx_hash.cpp
@@ -21,7 +21,7 @@ MDx_HashFunction::MDx_HashFunction(size_t block_len,
uint8_t cnt_size) :
m_pad_char(bit_big_endian == true ? 0x80 : 0x01),
m_counter_size(cnt_size),
- m_block_bits(static_cast<size_t>(ceil_log2(block_len))),
+ m_block_bits(static_cast<uint8_t>(ceil_log2(block_len))),
m_count_big_endian(byte_big_endian),
m_count(0),
m_buffer(block_len),