Fixed minor compiler warning
authorkhizmax <libcds.dev@gmail.com>
Sun, 5 Mar 2017 20:01:45 +0000 (23:01 +0300)
committerkhizmax <libcds.dev@gmail.com>
Sun, 5 Mar 2017 20:01:45 +0000 (23:01 +0300)
cds/intrusive/details/feldman_hashset_base.h

index cc688f7..691e2af 100644 (file)
@@ -479,7 +479,7 @@ namespace cds { namespace intrusive {
                     splitter.reset();
                     pArr = arr.head();
                     nSlot = splitter.cut( static_cast<unsigned>( arr.metrics().head_node_size_log ));
-                    assert( nSlot < arr.metrics().head_node_size );
+                    assert( static_cast<size_t>( nSlot ) < arr.metrics().head_node_size );
                     nHeight = 1;
                 }
             };