Replaced old style casts (issue #28)

This commit is contained in:
Benoit Blanchon
2014-10-10 18:44:04 +02:00
parent e725b756a6
commit dae0dc5ebb
5 changed files with 7 additions and 5 deletions
+1 -1
View File
@@ -76,7 +76,7 @@ namespace ArduinoJson
operator float()
{
return (float)_content.asDouble;
return static_cast<float>(_content.asDouble);
}
operator int()