summaryrefslogtreecommitdiffstats
path: root/tools/ideviceinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/ideviceinfo.c')
-rw-r--r--tools/ideviceinfo.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/ideviceinfo.c b/tools/ideviceinfo.c
index c8d4cac..0c23d3c 100644
--- a/tools/ideviceinfo.c
+++ b/tools/ideviceinfo.c
@@ -25,6 +25,7 @@
#include <stdlib.h>
#include <time.h>
#include <sys/time.h>
+#include <inttypes.h>
#include <libimobiledevice/libimobiledevice.h>
#include <libimobiledevice/lockdown.h>
@@ -177,7 +178,7 @@ static void plist_node_to_string(plist_t node)
case PLIST_UINT:
plist_get_uint_val(node, &u);
- printf("%llu\n", (long long)u);
+ printf("%"PRIu64"\n", (long long)u);
break;
case PLIST_REAL: