diff options
| -rw-r--r-- | src/ideviceinstaller.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ideviceinstaller.c b/src/ideviceinstaller.c index 33737b9..c50bacf 100644 --- a/src/ideviceinstaller.c +++ b/src/ideviceinstaller.c | |||
| @@ -792,7 +792,7 @@ static char *buf_from_file(const char *filename, size_t *size) | |||
| 792 | } | 792 | } |
| 793 | size_t amount = fread(ibuf, 1, filesize, fp); | 793 | size_t amount = fread(ibuf, 1, filesize, fp); |
| 794 | if (amount != filesize) { | 794 | if (amount != filesize) { |
| 795 | fprintf(stderr, "ERROR: could not read %ld bytes from %s\n", filesize, filename); | 795 | fprintf(stderr, "ERROR: could not read %" PRIu64 " bytes from %s\n", (uint64_t)filesize, filename); |
| 796 | free(ibuf); | 796 | free(ibuf); |
| 797 | return NULL; | 797 | return NULL; |
| 798 | } | 798 | } |
