diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-09-01 21:24:59 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-09-01 21:54:48 +0300 |
commit | f5e3f241af190e487c0499dae0efc12e9ae2d202 (patch) | |
tree | 295bac3fa27cfff3c78d664b49b01ff51b723b77 /src/utils/xml | |
parent | 13c5cc47aca547c1f3ca02e26672557823b844ee (diff) | |
download | plus-f5e3f241af190e487c0499dae0efc12e9ae2d202.tar.gz plus-f5e3f241af190e487c0499dae0efc12e9ae2d202.tar.bz2 plus-f5e3f241af190e487c0499dae0efc12e9ae2d202.tar.xz plus-f5e3f241af190e487c0499dae0efc12e9ae2d202.zip |
Fix code style.
Diffstat (limited to 'src/utils/xml')
-rw-r--r-- | src/utils/xml/libxml.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/xml/libxml.cpp b/src/utils/xml/libxml.cpp index 251f994d5..46c3fbb76 100644 --- a/src/utils/xml/libxml.cpp +++ b/src/utils/xml/libxml.cpp @@ -214,7 +214,7 @@ namespace XML xmlChar *const prop = XmlGetProp(node, name); if (prop != nullptr) { - ret = atof(reinterpret_cast<char*>(prop)); + ret = static_cast<float>(atof(reinterpret_cast<char*>(prop))); xmlFree(prop); } |