summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
Diffstat (limited to 'utils')
-rw-r--r--utils/MTP/beastpatcher/mtp_libmtp.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/utils/MTP/beastpatcher/mtp_libmtp.c b/utils/MTP/beastpatcher/mtp_libmtp.c
index 9ada7bfeea..ed2d32b85f 100644
--- a/utils/MTP/beastpatcher/mtp_libmtp.c
+++ b/utils/MTP/beastpatcher/mtp_libmtp.c
@@ -104,11 +104,8 @@ static int progress(uint64_t const sent, uint64_t const total,
(void)data;
int percent = (sent * 100) / total;
-#ifdef __WIN32__
- printf("Progress: %I64u of %I64u (%d%%)\r", sent, total, percent);
-#else
+
printf("Progress: %"PRIu64" of %"PRIu64" (%d%%)\r", sent, total, percent);
-#endif
fflush(stdout);
return 0;
}