From eacd6b41642aeb21a1fab43d680bee5fe0ccf585 Mon Sep 17 00:00:00 2001 From: khizmax Date: Sun, 5 Mar 2017 23:03:39 +0300 Subject: [PATCH] Fixed minor compiler 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 691e2af3..626e5bc7 100644 --- a/cds/intrusive/details/feldman_hashset_base.h +++ b/cds/intrusive/details/feldman_hashset_base.h @@ -514,7 +514,7 @@ namespace cds { namespace intrusive { assert(slot.ptr() != nullptr); assert( !pos.splitter.eos()); pos.nSlot = pos.splitter.cut( static_cast( metrics().array_node_size_log )); - assert( pos.nSlot < metrics().array_node_size ); + assert( static_cast( pos.nSlot ) < metrics().array_node_size ); pos.pArr = to_array(slot.ptr()); ++pos.nHeight; } -- 2.34.1