commit | 32b2197f363648ec1490122043326eb5fc9c83f5 | [log] [tgz] |
---|---|---|
author | Keith Gable <ziggy@ignition-project.com> | Wed Apr 07 22:29:12 2010 -0500 |
committer | Martin Szulecki <opensuse@sukimashita.com> | Thu Apr 08 11:42:32 2010 +0200 |
tree | ac296578d19480da9deffc704e01159e37deb057 | |
parent | 25103d3343074b61c6e2311324ccc92fc07e9105 [diff] |
%zu represents a size_t, not %d. Fixes a compile error on GCC 4.3.4.
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 @@ 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);