From babec330acced3915332fa9a09b8252cfa99cf34 Mon Sep 17 00:00:00 2001 From: Jonathan Beck Date: Thu, 21 Jan 2010 21:19:41 +0100 Subject: Fix some warnings --- src/xplist.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/xplist.c') 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 #include +#include #include #include @@ -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: -- cgit v1.1-32-gdbae