Skip to content

Commit e5b8b4b

Browse files
committed
explitly convert pow result to float
1 parent 4d3e7a4 commit e5b8b4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

reliable.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1440,7 +1440,7 @@ void reliable_endpoint_update( struct reliable_endpoint_t * endpoint, double tim
14401440
}
14411441
if ( count > 0 )
14421442
{
1443-
endpoint->jitter_stddev_vs_avg_rtt = pow( sum / (float)count, 0.5f );
1443+
endpoint->jitter_stddev_vs_avg_rtt = (float) pow( sum / (float)count, 0.5f );
14441444
}
14451445
else
14461446
{

0 commit comments

Comments
 (0)