diff --git a/host/hackrf-tools/src/hackrf_transfer.c b/host/hackrf-tools/src/hackrf_transfer.c index 20171225..4874c43b 100644 --- a/host/hackrf-tools/src/hackrf_transfer.c +++ b/host/hackrf-tools/src/hackrf_transfer.c @@ -35,6 +35,7 @@ #include #include #include +#include #ifndef bool typedef int bool; @@ -1218,8 +1219,8 @@ int main(int argc, char** argv) { } else { fprintf(stderr, "Transfer statistics:\n" - "%lu bytes transferred by M0\n" - "%lu bytes transferred by M4\n" + "%" PRIu64 " bytes transferred by M0\n" + "%" PRIu64 " bytes transferred by M4\n" "%u %s, longest %u bytes\n", stats.m0_total, stats.m4_total,