xiaoxiang781216 commented on code in PR #1793:
URL: https://github.com/apache/nuttx-apps/pull/1793#discussion_r1230073325


##########
netutils/iperf/iperf.c:
##########
@@ -338,7 +338,7 @@ static void iperf_report_task(FAR void *arg)
              ts_diff(&start, &start),
              ts_diff(&now, &start),
              now_len,
-             ((double)(now_len * 8) / 1000000) /
+             ((double)(now_len * 8) / 1000000.0) /
              (double)ts_diff(&now, &start)

Review Comment:
   please remove the cast for all ts_diff too



-- 
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: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to