diff options
Diffstat (limited to 'tools/ideviceinfo.c')
| -rw-r--r-- | tools/ideviceinfo.c | 3 |
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 @@ | |||
| 25 | #include <stdlib.h> | 25 | #include <stdlib.h> |
| 26 | #include <time.h> | 26 | #include <time.h> |
| 27 | #include <sys/time.h> | 27 | #include <sys/time.h> |
| 28 | #include <inttypes.h> | ||
| 28 | 29 | ||
| 29 | #include <libimobiledevice/libimobiledevice.h> | 30 | #include <libimobiledevice/libimobiledevice.h> |
| 30 | #include <libimobiledevice/lockdown.h> | 31 | #include <libimobiledevice/lockdown.h> |
| @@ -177,7 +178,7 @@ static void plist_node_to_string(plist_t node) | |||
| 177 | 178 | ||
| 178 | case PLIST_UINT: | 179 | case PLIST_UINT: |
| 179 | plist_get_uint_val(node, &u); | 180 | plist_get_uint_val(node, &u); |
| 180 | printf("%llu\n", (long long)u); | 181 | printf("%"PRIu64"\n", (long long)u); |
| 181 | break; | 182 | break; |
| 182 | 183 | ||
| 183 | case PLIST_REAL: | 184 | case PLIST_REAL: |
