From 32b2197f363648ec1490122043326eb5fc9c83f5 Mon Sep 17 00:00:00 2001 From: Keith Gable Date: Wed, 7 Apr 2010 22:29:12 -0500 Subject: %zu represents a size_t, not %d. Fixes a compile error on GCC 4.3.4. --- src/ideviceinstaller.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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); -- cgit v1.1-32-gdbae