forked from bblanchon/ArduinoJson
Replaced old style casts (issue #28)
This commit is contained in:
1 parent
e725b756a6
commit
dae0dc5ebb
5 files changed
+7
-5
No files matched your search
@@ -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