summaryrefslogtreecommitdiffstats
path: root/src/xplist.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xplist.c')
-rw-r--r--src/xplist.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xplist.c b/src/xplist.c
index e281b4f..c0849b6 100644
--- a/src/xplist.c
+++ b/src/xplist.c
@@ -152,12 +152,12 @@ static void node_to_xml(GNode * node, gpointer xml_struct)
152 152
153 case PLIST_UINT: 153 case PLIST_UINT:
154 tag = XPLIST_INT; 154 tag = XPLIST_INT;
155 val = g_strdup_printf("%lu", (long unsigned int) node_data->intval); 155 val = g_strdup_printf("%llu", node_data->intval);
156 break; 156 break;
157 157
158 case PLIST_REAL: 158 case PLIST_REAL:
159 tag = XPLIST_REAL; 159 tag = XPLIST_REAL;
160 val = g_strdup_printf("%Lf", (long double) node_data->realval); 160 val = g_strdup_printf("%f", node_data->realval);
161 break; 161 break;
162 162
163 case PLIST_STRING: 163 case PLIST_STRING: