forked from bblanchon/ArduinoJson
Replaced old style casts (issue #28)
This commit is contained in:
@@ -76,7 +76,7 @@ namespace ArduinoJson
|
||||
|
||||
operator float()
|
||||
{
|
||||
return (float)_content.asDouble;
|
||||
return static_cast<float>(_content.asDouble);
|
||||
}
|
||||
|
||||
operator int()
|
||||
|
||||
Reference in New Issue
Block a user