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 @@  #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:  | 
