diff options
author | Martin Szulecki | 2011-03-26 11:19:38 +0100 |
---|---|---|
committer | Martin Szulecki | 2011-03-26 11:19:38 +0100 |
commit | a7103c5a018601bc4c239caacca77e25ed1492ae (patch) | |
tree | d92b9f36b1b5049d6365203c48f8ec69b192fb59 /src | |
parent | ecb942b024de4038ff98cbaa3ca2e209b1da290c (diff) | |
download | ideviceinstaller-a7103c5a018601bc4c239caacca77e25ed1492ae.tar.gz ideviceinstaller-a7103c5a018601bc4c239caacca77e25ed1492ae.tar.bz2 |
Use a cast to fix a compiler printf warning
Diffstat (limited to 'src')
-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 365da0b..3fcea18 100644 --- a/src/ideviceinstaller.c +++ b/src/ideviceinstaller.c @@ -163,7 +163,7 @@ static int zip_f_get_contents(struct zip *zf, const char *filename, int locate_f *buffer = malloc(zs.size); if (zip_fread(zfile, *buffer, zs.size) != zs.size) { - fprintf(stderr, "ERROR: zip_fread %ld bytes from '%s'\n", zs.size, filename); + fprintf(stderr, "ERROR: zip_fread %lld bytes from '%s'\n", (uint64_t)zs.size, filename); free(*buffer); *buffer = NULL; zip_fclose(zfile); |