From 53ed3be0463522cc3f8028def453c78be10f165b Mon Sep 17 00:00:00 2001 From: Christophe Fergeau Date: Fri, 24 Jul 2009 21:35:13 +0200 Subject: 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 --- dev/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dev/main.c') diff --git a/dev/main.c b/dev/main.c index cf7dbaa..f2d72b1 100644 --- a/dev/main.c +++ b/dev/main.c @@ -167,7 +167,7 @@ int main(int argc, char *argv[]) if (IPHONE_E_SUCCESS == afc_open_file(afc, "/readme.libiphone.fx", AFC_FOPEN_RDONLY, &my_file) && my_file) { - printf("A file size: %llu\n", fsize); + printf("A file size: %llu\n", (long long)fsize); char *file_data = (char *) malloc(sizeof(char) * fsize); afc_read_file(afc, my_file, file_data, fsize, &bytes); if (bytes > 0) { -- cgit v1.1-32-gdbae