mirror of https://gitee.com/bigwinds/arangodb
fixed warning
This commit is contained in:
parent
fcc64191fe
commit
6ed990b59c
|
@ -455,7 +455,7 @@ double AqlValue::toNumber () const {
|
|||
case RANGE: {
|
||||
size_t rangeSize = _range->size();
|
||||
if (rangeSize == 1) {
|
||||
return _range->at(0);
|
||||
return static_cast<double>(_range->at(0));
|
||||
}
|
||||
return 0.0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue