From 0e0e1accb62ccd3c703ab031ae9cfe0260fcfa01 Mon Sep 17 00:00:00 2001 From: Andrey Lihatskiy Date: Wed, 21 Aug 2024 20:23:27 +0300 Subject: Fix implicit conversion error in llvoicewebrtc.cpp --- indra/newview/llvoicewebrtc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/newview/llvoicewebrtc.cpp b/indra/newview/llvoicewebrtc.cpp index 4d4f5dc9e9..af93bdcaf0 100644 --- a/indra/newview/llvoicewebrtc.cpp +++ b/indra/newview/llvoicewebrtc.cpp @@ -2750,7 +2750,7 @@ bool LLVoiceWebRTCConnection::connectionStateMachine() case VOICE_STATE_SESSION_UP: { mRetryWaitPeriod = 0; - mRetryWaitSecs = (F32)((F32) rand() / (RAND_MAX)) + 0.5f; + mRetryWaitSecs = (F32)((F32)rand() / (F32)RAND_MAX) + 0.5f; LLUUID agentRegionID; if (isSpatial() && gAgent.getRegion()) { -- cgit v1.2.3