1
0
Fork 0

fixed warning

This commit is contained in:
Jan Steemann 2015-06-25 23:41:39 +02:00
parent fcc64191fe
commit 6ed990b59c
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}