From fd49bd6ba464b8bedc748a89ad6d44d684ea1a33 Mon Sep 17 00:00:00 2001 From: khizmax Date: Sun, 13 Nov 2016 22:32:35 +0300 Subject: [PATCH] Fixed gcc warning --- cds/intrusive/details/feldman_hashset_base.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cds/intrusive/details/feldman_hashset_base.h b/cds/intrusive/details/feldman_hashset_base.h index 0cd2f7aa..ee40640e 100644 --- a/cds/intrusive/details/feldman_hashset_base.h +++ b/cds/intrusive/details/feldman_hashset_base.h @@ -402,7 +402,7 @@ namespace cds { namespace intrusive { >::type hash_comparator; /// The size of hash_type in bytes, see \p traits::hash_size for explanation - static CDS_CONSTEXPR size_t const c_hash_size = traits::hash_size == 0 ? sizeof( hash_type ) : traits::hash_size; + static CDS_CONSTEXPR size_t const c_hash_size = traits::hash_size == 0 ? sizeof( hash_type ) : static_cast( traits::hash_size ); typedef feldman_hashset::details::hash_splitter< hash_type, c_hash_size > hash_splitter; -- 2.34.1