summaryrefslogtreecommitdiffstats
path: root/dev
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2014-05-21 15:31:53 +0200
committerGravatar Martin Szulecki2014-05-21 15:31:53 +0200
commit179bd812736f4b5ffea66a0e6ea42eb00a84a0c8 (patch)
tree5fc5569c863c0453030d3cdedb451d5f1ef823fc /dev
parentdf51f6cfb7f73b159e7c7d704b9e59ef09f94b3e (diff)
downloadlibimobiledevice-179bd812736f4b5ffea66a0e6ea42eb00a84a0c8.tar.gz
libimobiledevice-179bd812736f4b5ffea66a0e6ea42eb00a84a0c8.tar.bz2
Silence compiler warning about format strings using PRIu64
Diffstat (limited to 'dev')
-rw-r--r--dev/ideviceheartbeat.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/dev/ideviceheartbeat.c b/dev/ideviceheartbeat.c
index fe2cdf3..c92ff90 100644
--- a/dev/ideviceheartbeat.c
+++ b/dev/ideviceheartbeat.c
@@ -21,6 +21,7 @@
#include <stdio.h>
#include <string.h>
+#include <inttypes.h>
#include <signal.h>
#include <stdlib.h>
@@ -129,7 +130,7 @@ int main(int argc, char *argv[])
plist_get_uint_val(node, &interval);
}
- printf("> marco: supports_sleepy_time %d, interval %llu\n", b, interval);
+ printf("> marco: supports_sleepy_time %d, interval %"PRIu64"\n", b, interval);
plist_free(message);
message = NULL;