summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Keith Gable2010-04-07 22:29:12 -0500
committerGravatar Martin Szulecki2010-04-08 11:42:32 +0200
commit32b2197f363648ec1490122043326eb5fc9c83f5 (patch)
treeac296578d19480da9deffc704e01159e37deb057
parent25103d3343074b61c6e2311324ccc92fc07e9105 (diff)
downloadideviceinstaller-32b2197f363648ec1490122043326eb5fc9c83f5.tar.gz
ideviceinstaller-32b2197f363648ec1490122043326eb5fc9c83f5.tar.bz2
%zu represents a size_t, not %d. Fixes a compile error on GCC 4.3.4.
-rw-r--r--src/ideviceinstaller.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ideviceinstaller.c b/src/ideviceinstaller.c
index 6187c97..3762877 100644
--- a/src/ideviceinstaller.c
+++ b/src/ideviceinstaller.c
@@ -643,7 +643,7 @@ run_again:
total += written;
}
if (total != amount) {
- fprintf(stderr, "Error: wrote only %d of %d\n", total,
+ fprintf(stderr, "Error: wrote only %d of %zu\n", total,
amount);
afc_file_close(afc, af);
fclose(f);