summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2023-07-21 04:07:24 +0700
committerGravatar Nikias Bassen2023-07-21 04:07:24 +0700
commitb9cfe0b264f66eab9ad88e11eb6b0523cb1de911 (patch)
treea089ad94142ab322802afafe84ae51279dfaefac /src
parentfaafec8be9633f71ba54d3ee9028a76db243b024 (diff)
downloadideviceinstaller-b9cfe0b264f66eab9ad88e11eb6b0523cb1de911.tar.gz
ideviceinstaller-b9cfe0b264f66eab9ad88e11eb6b0523cb1de911.tar.bz2
Fix compiler error due to mismatching format in format string
Diffstat (limited to 'src')
-rw-r--r--src/ideviceinstaller.c2
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)
}
size_t amount = fread(ibuf, 1, filesize, fp);
if (amount != filesize) {
- fprintf(stderr, "ERROR: could not read %ld bytes from %s\n", filesize, filename);
+ fprintf(stderr, "ERROR: could not read %" PRIu64 " bytes from %s\n", (uint64_t)filesize, filename);
free(ibuf);
return NULL;
}