xiaoxiang781216 commented on code in PR #1793:
URL: https://github.com/apache/nuttx-apps/pull/1793#discussion_r1230072673
##########
netutils/iperf/iperf.c:
##########
@@ -323,7 +323,7 @@ static void iperf_report_task(FAR void *arg)
ts_diff(&last, &start),
ts_diff(&now, &start),
now_len -last_len,
- ((double)((now_len - last_len) * 8) / 1000000) /
+ ((double)((now_len - last_len) * 8) / 1000000.0) /
Review Comment:
we can remove double cast here and line 341
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]