projects
/
libcds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57741f3
)
Fixed minor compiler warning
author
khizmax
<libcds.dev@gmail.com>
Sun, 5 Mar 2017 20:03:39 +0000
(23:03 +0300)
committer
khizmax
<libcds.dev@gmail.com>
Sun, 5 Mar 2017 20:03:39 +0000
(23:03 +0300)
cds/intrusive/details/feldman_hashset_base.h
patch
|
blob
|
history
diff --git
a/cds/intrusive/details/feldman_hashset_base.h
b/cds/intrusive/details/feldman_hashset_base.h
index 691e2af3b4af4fc9f82a20fd9ea27f35f2c223d0..626e5bc79f2466e9c2b29b8a5ef350fa60a5758f 100644
(file)
--- 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<unsigned>( metrics().array_node_size_log ));
- assert(
pos.nSlot
< metrics().array_node_size );
+ assert(
static_cast<size_t>( pos.nSlot )
< metrics().array_node_size );
pos.pArr = to_array(slot.ptr());
++pos.nHeight;
}