This commit is contained in:
Eric Zhang 2022-05-14 16:52:27 +00:00 committed by The Phantom Derpstorm
parent 13b7e8a7ca
commit c9055478c7

View File

@ -657,7 +657,7 @@ namespace sol { namespace stack {
#if SOL_IS_ON(SOL_SAFE_STACK_CHECK)
luaL_checkstack(L, 1, detail::not_enough_stack_space_generic);
#endif // make sure stack doesn't overflow
lua_pushlightuserdata(L, static_cast<void*>(l.value));
lua_pushlightuserdata(L, static_cast<void*>(l.value()));
return 1;
}
};