summaryrefslogtreecommitdiffstats
path: root/src/xplist.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xplist.c')
-rw-r--r--src/xplist.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/xplist.c b/src/xplist.c
index ce8dec1..8b6a632 100644
--- a/src/xplist.c
+++ b/src/xplist.c
@@ -25,6 +25,7 @@
#include <stdlib.h>
#include <stdio.h>
+#include <inttypes.h>
#include <libxml/parser.h>
#include <libxml/tree.h>
@@ -149,7 +150,7 @@ static void node_to_xml(GNode * node, gpointer xml_struct)
case PLIST_UINT:
tag = XPLIST_INT;
- val = g_strdup_printf("%llu", node_data->intval);
+ val = g_strdup_printf("%"PRIu64, node_data->intval);
break;
case PLIST_REAL: