diff options
Diffstat (limited to 'src/lib/util/xmlfile.c')
-rw-r--r-- | src/lib/util/xmlfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/util/xmlfile.c b/src/lib/util/xmlfile.c index 8635cfc427f..7956654a984 100644 --- a/src/lib/util/xmlfile.c +++ b/src/lib/util/xmlfile.c @@ -511,7 +511,7 @@ xml_attribute_node *xml_set_attribute_int(xml_data_node *node, const char *name, xml_attribute_node *xml_set_attribute_float(xml_data_node *node, const char *name, float value) { char buffer[100]; - sprintf(buffer, "%f", value); + sprintf(buffer, "%f", (double) value); return xml_set_attribute(node, name, buffer); } |