projects
/
libcds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a7ac009
)
Fixed minor compiler warning
author
khizmax
<libcds.dev@gmail.com>
Sun, 5 Mar 2017 20:01:45 +0000
(23:01 +0300)
committer
khizmax
<libcds.dev@gmail.com>
Sun, 5 Mar 2017 20:01:45 +0000
(23:01 +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 cc688f796cfd43a68d8ce36f6fb631b4dbcf3b1a..691e2af3b4af4fc9f82a20fd9ea27f35f2c223d0 100644
(file)
--- a/
cds/intrusive/details/feldman_hashset_base.h
+++ b/
cds/intrusive/details/feldman_hashset_base.h
@@
-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 ));
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;
}
};
nHeight = 1;
}
};