mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-03 00:43:46 +00:00
Fixed minor compiler error and warning (#5762)
* 5762 Fixed minor compiler error and warning * 5762 Regenerated cpprest petstore client
This commit is contained in:
@@ -285,7 +285,7 @@ int32_t ModelBase::int32_tFromJson(web::json::value& val)
|
||||
}
|
||||
float ModelBase::floatFromJson(web::json::value& val)
|
||||
{
|
||||
return val.as_double();
|
||||
return static_cast<float>(val.as_double());
|
||||
}
|
||||
utility::string_t ModelBase::stringFromJson(web::json::value& val)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user