aboutsummaryrefslogtreecommitdiff
path: root/xml.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--xml.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xml.c b/xml.c
index 7eb1cfb..2eb1bca 100644
--- a/xml.c
+++ b/xml.c
@@ -44,7 +44,7 @@ get_value(mxml_node_t *node, /* I - Node to get */
}
else if (current->type == MXML_INTEGER)
{
- sprintf(tempbuf, "%f", current->value.integer);
+ sprintf(tempbuf, "%d", current->value.integer);
len = (int)strlen(tempbuf);
if (len > (int)(end - ptr))
len = (int)(end - ptr);