Fix conversion error on Windows
This commit is contained in:
parent
006cc2ed60
commit
56841bcede
|
@ -951,7 +951,7 @@ inline simdjson_result<double> document::element::as_double() const noexcept {
|
|||
if (result < 0) {
|
||||
return NUMBER_OUT_OF_RANGE;
|
||||
}
|
||||
return result;
|
||||
return double(result);
|
||||
}
|
||||
case internal::tape_type::DOUBLE:
|
||||
return next_tape_value<double>();
|
||||
|
|
Loading…
Reference in New Issue