mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
fix #1354
This commit is contained in:
parent
13b7e8a7ca
commit
c9055478c7
|
@ -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;
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue
Block a user