diff options
author | Keith Gable | 2010-04-07 22:29:12 -0500 |
---|---|---|
committer | Martin Szulecki | 2010-04-08 11:42:32 +0200 |
commit | 32b2197f363648ec1490122043326eb5fc9c83f5 (patch) | |
tree | ac296578d19480da9deffc704e01159e37deb057 | |
parent | 25103d3343074b61c6e2311324ccc92fc07e9105 (diff) | |
download | ideviceinstaller-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.c | 2 |
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); |