summaryrefslogtreecommitdiff
path: root/indra/newview/llvoicewebrtc.cpp
diff options
context:
space:
mode:
authorAndrey Lihatskiy <alihatskiy@productengine.com>2024-08-21 20:23:27 +0300
committerAndrey Lihatskiy <alihatskiy@productengine.com>2024-08-21 20:23:27 +0300
commit0e0e1accb62ccd3c703ab031ae9cfe0260fcfa01 (patch)
treea3c18f43264d060c9b740c36c73e01eebeba0635 /indra/newview/llvoicewebrtc.cpp
parent605f8b46cfa51e54d4f2013b1a2c721f7acdfb0a (diff)
Fix implicit conversion error in llvoicewebrtc.cpp
Diffstat (limited to 'indra/newview/llvoicewebrtc.cpp')
-rw-r--r--indra/newview/llvoicewebrtc.cpp2
1 files changed, 1 insertions, 1 deletions
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())
{