diff options
Diffstat (limited to 'src/xplist.c')
| -rw-r--r-- | src/xplist.c | 3 |
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 @@ | |||
| 25 | #include <stdlib.h> | 25 | #include <stdlib.h> |
| 26 | #include <stdio.h> | 26 | #include <stdio.h> |
| 27 | 27 | ||
| 28 | #include <inttypes.h> | ||
| 28 | 29 | ||
| 29 | #include <libxml/parser.h> | 30 | #include <libxml/parser.h> |
| 30 | #include <libxml/tree.h> | 31 | #include <libxml/tree.h> |
| @@ -149,7 +150,7 @@ static void node_to_xml(GNode * node, gpointer xml_struct) | |||
| 149 | 150 | ||
| 150 | case PLIST_UINT: | 151 | case PLIST_UINT: |
| 151 | tag = XPLIST_INT; | 152 | tag = XPLIST_INT; |
| 152 | val = g_strdup_printf("%llu", node_data->intval); | 153 | val = g_strdup_printf("%"PRIu64, node_data->intval); |
| 153 | break; | 154 | break; |
| 154 | 155 | ||
| 155 | case PLIST_REAL: | 156 | case PLIST_REAL: |
