diff options
| author | 2012-08-25 00:17:04 +0200 | |
|---|---|---|
| committer | 2012-08-25 00:17:04 +0200 | |
| commit | 1086db865ee04febf929f0708e7428fda45f38db (patch) | |
| tree | 5545e9414e18102322a86326867f527c0bf5ca54 | |
| parent | aed4b55cbea1f96a999fc2879ba5dd53f05fdc85 (diff) | |
| download | ideviceinstaller-1086db865ee04febf929f0708e7428fda45f38db.tar.gz ideviceinstaller-1086db865ee04febf929f0708e7428fda45f38db.tar.bz2 | |
Fix some printf compiler warnings
| -rw-r--r-- | src/ideviceinstaller.c | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/src/ideviceinstaller.c b/src/ideviceinstaller.c index de6cb5c..8f5ec5e 100644 --- a/src/ideviceinstaller.c +++ b/src/ideviceinstaller.c @@ -566,7 +566,7 @@ run_again:  					struct zip_stat zs;  					zip_stat_init(&zs);  					if (zip_stat_index(zf, i, 0, &zs) != 0) { -						fprintf(stderr, "ERROR: zip_stat_index %ld failed!\n", i); +						fprintf(stderr, "ERROR: zip_stat_index %" PRIu64 " failed!\n", i);  						free(dstpath);  						dstpath = NULL;  						zip_fclose(zfile); @@ -595,7 +595,7 @@ run_again:  								total += written;  							}  							if (total != amount) { -								fprintf(stderr, "Error: wrote only %d of %zu\n", total, amount); +								fprintf(stderr, "Error: wrote only %d of %" PRIi64 "\n", total, amount);  								afc_file_close(afc, af);  								zip_fclose(zfile);  								free(dstpath); | 
