Skip to content

Commit 1d13665

Browse files
authored
Correct type in printf (#346)
1 parent 4eecaa6 commit 1d13665

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pico_w/bt/standalone/server_with_wifi.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ static void iperf_report(void *arg, enum lwiperf_report_type report_type,
5454

5555
total_iperf_megabytes += mbytes;
5656

57-
printf("Completed iperf transfer of %d MBytes @ %.1f Mbits/sec\n", mbytes, mbits);
58-
printf("Total iperf megabytes since start %d Mbytes\n", total_iperf_megabytes);
57+
printf("Completed iperf transfer of %u MBytes @ %.1f Mbits/sec\n", mbytes, mbits);
58+
printf("Total iperf megabytes since start %u Mbytes\n", total_iperf_megabytes);
5959
}
6060

6161
int main() {

0 commit comments

Comments
 (0)