Skip to content

Commit

Permalink
fix #1354
Browse files Browse the repository at this point in the history
  • Loading branch information
qinix authored and ThePhD committed Jun 24, 2022
1 parent 13b7e8a commit c905547
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/sol/stack_push.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
};
Expand Down

0 comments on commit c905547

Please sign in to comment.