summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/ideviceinstaller.c4
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:
566 struct zip_stat zs; 566 struct zip_stat zs;
567 zip_stat_init(&zs); 567 zip_stat_init(&zs);
568 if (zip_stat_index(zf, i, 0, &zs) != 0) { 568 if (zip_stat_index(zf, i, 0, &zs) != 0) {
569 fprintf(stderr, "ERROR: zip_stat_index %ld failed!\n", i); 569 fprintf(stderr, "ERROR: zip_stat_index %" PRIu64 " failed!\n", i);
570 free(dstpath); 570 free(dstpath);
571 dstpath = NULL; 571 dstpath = NULL;
572 zip_fclose(zfile); 572 zip_fclose(zfile);
@@ -595,7 +595,7 @@ run_again:
595 total += written; 595 total += written;
596 } 596 }
597 if (total != amount) { 597 if (total != amount) {
598 fprintf(stderr, "Error: wrote only %d of %zu\n", total, amount); 598 fprintf(stderr, "Error: wrote only %d of %" PRIi64 "\n", total, amount);
599 afc_file_close(afc, af); 599 afc_file_close(afc, af);
600 zip_fclose(zfile); 600 zip_fclose(zfile);
601 free(dstpath); 601 free(dstpath);