Skip to content

Commit d78b031

Browse files
Evasion3356Evasion3356
authored andcommitted
Remove unnecessary cast.
1 parent 2432512 commit d78b031

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

M2DEScriptHook/src/LuaFunctions.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ lua_State* GetL()
210210
auto inst = C_ScriptMachineManager::GetInstance();
211211
auto scriptMachine = inst->GetFirstScriptMachine();
212212
auto luaState = scriptMachine->GetLuaState();
213-
return (lua_State*)luaState;
213+
return luaState;
214214
}
215215

216216
int32_t LuaFunctions::PrintToLog(lua_State *L)

0 commit comments

Comments
 (0)