From a65e2d3115fc40ff88a3e743df150f3702e6c499 Mon Sep 17 00:00:00 2001 From: Dennis Luxen Date: Tue, 17 Jun 2014 13:19:59 +0200 Subject: [PATCH] downcast size_t to unsigned --- Plugins/HelloWorldPlugin.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Plugins/HelloWorldPlugin.h b/Plugins/HelloWorldPlugin.h index a9f384a6d..638931164 100644 --- a/Plugins/HelloWorldPlugin.h +++ b/Plugins/HelloWorldPlugin.h @@ -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(routeParameters.coordinates.size())); json_result.values["location_count"] = temp_string; JSON::Array json_locations;