Fixed minor compiler error and warning (#5762)

* 5762 Fixed minor compiler error and warning

* 5762 Regenerated cpprest petstore client
This commit is contained in:
Ralph Langendam
2017-06-07 12:37:45 +02:00
committed by wing328
parent 9f81aa4bfc
commit ec19e8f407
5 changed files with 5 additions and 4 deletions

View File

@@ -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)
{