diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2024-09-05 13:41:41 -0400 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2024-09-05 13:41:41 -0400 |
commit | 25a86618002a397d1d8dabf2ec1f093489b2f816 (patch) | |
tree | 4124bf8c30cdd6cdc55d4871a154542757cf4074 /indra/newview/llluamanager.cpp | |
parent | 953f7c9c1da4b83cabbf91f281445c3704a2f229 (diff) |
Fix Windows build errors from develop => release/luau-scripting.
Diffstat (limited to 'indra/newview/llluamanager.cpp')
-rw-r--r-- | indra/newview/llluamanager.cpp | 4 |
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; }; |