diff options
| author | 2010-01-21 21:19:41 +0100 | |
|---|---|---|
| committer | 2010-01-21 21:19:41 +0100 | |
| commit | babec330acced3915332fa9a09b8252cfa99cf34 (patch) | |
| tree | e5fdbcde4e3296b55f441012ec8f66b74ef286d1 /src/xplist.c | |
| parent | 874942ec1600773622238ae28544908d292ef339 (diff) | |
| download | libplist-babec330acced3915332fa9a09b8252cfa99cf34.tar.gz libplist-babec330acced3915332fa9a09b8252cfa99cf34.tar.bz2 | |
Fix some warnings
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: |
