aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/hash/mdx_hash
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2019-12-06 11:08:45 -0500
committerJack Lloyd <[email protected]>2019-12-06 11:11:56 -0500
commit96a59276189e058059ddc63d0f3c598f8d8d68b5 (patch)
tree068f123ebcfec21dcafd8bd42bd3c77f7511b0e7 /src/lib/hash/mdx_hash
parent986fca5c3b2946953e3e370fb637099591b86128 (diff)
Resolve various integer conversion warnings from MSVC
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 5e58155ec..64ae516a8 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<uint8_t>(ceil_log2(block_len))),
+ m_block_bits(ceil_log2(block_len)),
m_count_big_endian(byte_big_endian),
m_count(0),
m_buffer(block_len),