diff options
Diffstat (limited to 'utils/MTP')
| -rw-r--r-- | utils/MTP/beastpatcher/mtp_libmtp.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/utils/MTP/beastpatcher/mtp_libmtp.c b/utils/MTP/beastpatcher/mtp_libmtp.c index 9ada7bf..ed2d32b 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; } |