From b96189789154222a8de57e31deb457be4208b4b3 Mon Sep 17 00:00:00 2001 From: Jack Lloyd Date: Mon, 1 Oct 2018 05:28:59 -0400 Subject: Fix more MSVC warnings --- src/lib/utils/mem_pool/mem_pool.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/utils/mem_pool') diff --git a/src/lib/utils/mem_pool/mem_pool.cpp b/src/lib/utils/mem_pool/mem_pool.cpp index d25343383..e052c10e7 100644 --- a/src/lib/utils/mem_pool/mem_pool.cpp +++ b/src/lib/utils/mem_pool/mem_pool.cpp @@ -63,7 +63,7 @@ Memory_Pool::Memory_Pool(uint8_t* pool, void* Memory_Pool::allocate(size_t req) { - const size_t alignment = (1 << m_align_bit); + const size_t alignment = (static_cast(1) << m_align_bit); if(req > m_pool_size) return nullptr; -- cgit v1.2.3