Fix some printf compiler warnings
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 @@
 					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 @@
 								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);