downcast size_t to unsigned

This commit is contained in:
Dennis Luxen 2014-06-17 13:19:59 +02:00
parent ca6e25b11c
commit a65e2d3115

View File

@ -65,7 +65,7 @@ class HelloWorldPlugin : public BasePlugin
json_result.values["jsonp_parameter"] = (!routeParameters.jsonp_parameter.empty() ? "yes" : "no");
json_result.values["language"] = (!routeParameters.language.empty() ? "yes" : "no");
temp_string = UintToString(routeParameters.coordinates.size());
temp_string = UintToString(static_cast<unsigned>(routeParameters.coordinates.size()));
json_result.values["location_count"] = temp_string;
JSON::Array json_locations;