From 36137d69786d05468c0a3849a6739ce4f62deb97 Mon Sep 17 00:00:00 2001 From: Glenn Fiedler Date: Tue, 17 Sep 2024 09:58:10 -0400 Subject: [PATCH] fix windows --- reliable/reliable.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reliable/reliable.c b/reliable/reliable.c index a0bcb976..1c164db8 100644 --- a/reliable/reliable.c +++ b/reliable/reliable.c @@ -1440,7 +1440,7 @@ void reliable_endpoint_update( struct reliable_endpoint_t * endpoint, double tim } if ( count > 0 ) { - endpoint->jitter_stddev_vs_avg_rtt = pow( sum / (float)count, 0.5f ); + endpoint->jitter_stddev_vs_avg_rtt = (float) pow( sum / (float)count, 0.5f ); } else {