summaryrefslogtreecommitdiffstats
path: root/dev/iphoneinfo.c
diff options
context:
space:
mode:
authorGravatar Christophe Fergeau2009-07-24 21:35:13 +0200
committerGravatar Matt Colyer2009-07-26 19:21:08 -0700
commit53ed3be0463522cc3f8028def453c78be10f165b (patch)
treee158cdce40e8d0dc23d6d374ed18c78714fe37de /dev/iphoneinfo.c
parentf6eda5e6ba53e77389b68e7a26f961c0f5025e4e (diff)
downloadlibimobiledevice-53ed3be0463522cc3f8028def453c78be10f165b.tar.gz
libimobiledevice-53ed3be0463522cc3f8028def453c78be10f165b.tar.bz2
fix most -Wall warnings
add missing includes, add some casts to avoid format warnings, mark one function as static. There are still warnings about unused argc/argv [#61 state:resolved] Signed-off-by: Matt Colyer <matt@colyer.name>
Diffstat (limited to 'dev/iphoneinfo.c')
-rw-r--r--dev/iphoneinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dev/iphoneinfo.c b/dev/iphoneinfo.c
index 3dfda5d..9d690f9 100644
--- a/dev/iphoneinfo.c
+++ b/dev/iphoneinfo.c
@@ -206,7 +206,7 @@ void plist_node_to_string(plist_t *node)
case PLIST_UINT:
plist_get_uint_val(node, &u);
- printf("%llu\n", u);
+ printf("%llu\n", (long long)u);
break;
case PLIST_REAL: