diff options
| author | 2010-04-07 22:29:12 -0500 | |
|---|---|---|
| committer | 2010-04-08 11:42:32 +0200 | |
| commit | 32b2197f363648ec1490122043326eb5fc9c83f5 (patch) | |
| tree | ac296578d19480da9deffc704e01159e37deb057 /src | |
| 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.
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 6187c97..3762877 100644 --- a/src/ideviceinstaller.c +++ b/src/ideviceinstaller.c | |||
| @@ -643,7 +643,7 @@ run_again: | |||
| 643 | total += written; | 643 | total += written; |
| 644 | } | 644 | } |
| 645 | if (total != amount) { | 645 | if (total != amount) { |
| 646 | fprintf(stderr, "Error: wrote only %d of %d\n", total, | 646 | fprintf(stderr, "Error: wrote only %d of %zu\n", total, |
| 647 | amount); | 647 | amount); |
| 648 | afc_file_close(afc, af); | 648 | afc_file_close(afc, af); |
| 649 | fclose(f); | 649 | fclose(f); |
