[msvc] Fix warnings, mainly casting to smaller types (#270)
If the checks by GitHub Actions checks are met, then it seems good to go. Thanks for supporting FOSS4G!
This commit is contained in:
@@ -92,11 +92,11 @@ struct ToValue {
|
||||
}
|
||||
|
||||
v8::Local<v8::Value> operator()(int64_t t) {
|
||||
return operator()(double(t));
|
||||
return operator()(static_cast<double>(t));
|
||||
}
|
||||
|
||||
v8::Local<v8::Value> operator()(uint64_t t) {
|
||||
return operator()(double(t));
|
||||
return operator()(static_cast<double>(t));
|
||||
}
|
||||
|
||||
v8::Local<v8::Value> operator()(double t) {
|
||||
|
||||
Reference in New Issue
Block a user