mirror of
https://github.com/simdjson/simdjson
synced 2026-06-08 17:27:07 +00:00
Fix conversion error on Windows
This commit is contained in:
@@ -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>();
|
||||
|
||||
Reference in New Issue
Block a user