summaryrefslogtreecommitdiff
path: root/indra/newview/llluamanager.cpp
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2024-09-05 13:41:41 -0400
committerNat Goodspeed <nat@lindenlab.com>2024-09-05 13:41:41 -0400
commit25a86618002a397d1d8dabf2ec1f093489b2f816 (patch)
tree4124bf8c30cdd6cdc55d4871a154542757cf4074 /indra/newview/llluamanager.cpp
parent953f7c9c1da4b83cabbf91f281445c3704a2f229 (diff)
Fix Windows build errors from develop => release/luau-scripting.
Diffstat (limited to 'indra/newview/llluamanager.cpp')
-rw-r--r--indra/newview/llluamanager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llluamanager.cpp b/indra/newview/llluamanager.cpp
index 91a34345be..6a725e785f 100644
--- a/indra/newview/llluamanager.cpp
+++ b/indra/newview/llluamanager.cpp
@@ -56,9 +56,9 @@ std::map<std::string, std::string> LLLUAmanager::sScriptNames;
lua_function(sleep, "sleep(seconds): pause the running coroutine")
{
lua_checkdelta(L, -1);
- F32 seconds = lua_tonumber(L, -1);
+ lua_Number seconds = lua_tonumber(L, -1);
lua_pop(L, 1);
- llcoro::suspendUntilTimeout(seconds);
+ llcoro::suspendUntilTimeout(narrow(seconds));
LuaState::getParent(L).set_interrupts_counter(0);
return 0;
};