Use PRIu64 in more places.
diff --git a/regress/stat_index.c b/regress/stat_index.c index 14c8116..c939cd3 100644 --- a/regress/stat_index.c +++ b/regress/stat_index.c
@@ -107,11 +107,11 @@ if (sb.valid & ZIP_STAT_NAME) printf("name: `%s'\n", sb.name); if (sb.valid & ZIP_STAT_INDEX) - printf("index: `%lld'\n", sb.index); + printf("index: `%"PRIu64"'\n", sb.index); if (sb.valid & ZIP_STAT_SIZE) - printf("size: `%lld'\n", sb.size); + printf("size: `%"PRIu64"'\n", sb.size); if (sb.valid & ZIP_STAT_COMP_SIZE) - printf("compressed size: `%lld'\n", sb.comp_size); + printf("compressed size: `%"PRIu64"'\n", sb.comp_size); if (sb.valid & ZIP_STAT_MTIME) { char buf[50]; struct tm *tpm;
diff --git a/regress/tryopen.c b/regress/tryopen.c index 6842bfa..a6de267 100644 --- a/regress/tryopen.c +++ b/regress/tryopen.c
@@ -85,7 +85,7 @@ if ((z=zip_open(fname, flags, &ze)) != NULL) { count = zip_get_num_entries(z, 0); - printf("opening `%s' succeeded, %lld entries\n", fname, count); + printf("opening `%s' succeeded, %"PRIu64" entries\n", fname, count); zip_close(z); continue; }
diff --git a/src/zipmerge.c b/src/zipmerge.c index 1e79b7c..4bf150a 100644 --- a/src/zipmerge.c +++ b/src/zipmerge.c
@@ -209,8 +209,8 @@ return 0; } - printf("replace `%s' (%llu / %08x) in `%s'\n" - " with `%s' (%llu / %08x) from `%s'? ", + printf("replace `%s' (%"PRIu64" / %08x) in `%s'\n" + " with `%s' (%"PRIu64" / %08x) from `%s'? ", st.name, st.size, st.crc, tname, ss.name, ss.size, ss.crc, sname); fflush(stdout);