Correct type in printf (#346)

This commit is contained in:
dp111
2023-03-10 21:42:37 +00:00
committed by GitHub
parent 4eecaa6543
commit 1d136651f9

View File

@@ -54,8 +54,8 @@ static void iperf_report(void *arg, enum lwiperf_report_type report_type,
total_iperf_megabytes += mbytes;
printf("Completed iperf transfer of %d MBytes @ %.1f Mbits/sec\n", mbytes, mbits);
printf("Total iperf megabytes since start %d Mbytes\n", total_iperf_megabytes);
printf("Completed iperf transfer of %u MBytes @ %.1f Mbits/sec\n", mbytes, mbits);
printf("Total iperf megabytes since start %u Mbytes\n", total_iperf_megabytes);
}
int main() {