diff options
| author | 2009-07-24 21:35:13 +0200 | |
|---|---|---|
| committer | 2009-07-26 19:21:08 -0700 | |
| commit | 53ed3be0463522cc3f8028def453c78be10f165b (patch) | |
| tree | e158cdce40e8d0dc23d6d374ed18c78714fe37de /src/AFC.c | |
| parent | f6eda5e6ba53e77389b68e7a26f961c0f5025e4e (diff) | |
| download | libimobiledevice-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 'src/AFC.c')
| -rw-r--r-- | src/AFC.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -425,7 +425,7 @@ static int receive_AFC_data(afc_client_t client, char **dump_here) | |||
| 425 | *dump_here = NULL; | 425 | *dump_here = NULL; |
| 426 | 426 | ||
| 427 | log_debug_msg("%s: WARNING: Unknown operation code received 0x%llx param1=%lld\n", __func__, header.operation, param1); | 427 | log_debug_msg("%s: WARNING: Unknown operation code received 0x%llx param1=%lld\n", __func__, header.operation, param1); |
| 428 | fprintf(stderr, "%s: WARNING: Unknown operation code received 0x%llx param1=%lld\n", __func__, header.operation, param1); | 428 | fprintf(stderr, "%s: WARNING: Unknown operation code received 0x%llx param1=%lld\n", __func__, (long long)header.operation, (long long)param1); |
| 429 | 429 | ||
| 430 | return -1; | 430 | return -1; |
| 431 | } | 431 | } |
