summaryrefslogtreecommitdiff
path: root/src/utils
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-09-01 21:24:59 +0300
committerAndrei Karas <akaras@inbox.ru>2017-09-01 21:54:48 +0300
commitf5e3f241af190e487c0499dae0efc12e9ae2d202 (patch)
tree295bac3fa27cfff3c78d664b49b01ff51b723b77 /src/utils
parent13c5cc47aca547c1f3ca02e26672557823b844ee (diff)
downloadmv-f5e3f241af190e487c0499dae0efc12e9ae2d202.tar.gz
mv-f5e3f241af190e487c0499dae0efc12e9ae2d202.tar.bz2
mv-f5e3f241af190e487c0499dae0efc12e9ae2d202.tar.xz
mv-f5e3f241af190e487c0499dae0efc12e9ae2d202.zip
Fix code style.
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/xml/libxml.cpp2
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);
}