mirror of https://gitee.com/bigwinds/arangodb
propertly cast
This commit is contained in:
parent
be4512fad3
commit
9cb3feefc6
|
@ -1401,7 +1401,7 @@ double IndexRangeNode::estimateCost (size_t& nrItems) const {
|
|||
|
||||
if (_index->type == TRI_IDX_TYPE_EDGE_INDEX) {
|
||||
// always an equality lookup
|
||||
nrItems = incoming * _ranges.size() * docCount / EqualityReductionFactor;
|
||||
nrItems = incoming * _ranges.size() * docCount / static_cast<size_t>(EqualityReductionFactor);
|
||||
return dependencyCost + nrItems;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue