diff options
Diffstat (limited to 'deep_test')
| -rw-r--r-- | deep_test/deep_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/deep_test/deep_test.cpp b/deep_test/deep_test.cpp index a6c6296..974709f 100644 --- a/deep_test/deep_test.cpp +++ b/deep_test/deep_test.cpp | |||
| @@ -229,7 +229,7 @@ static luaL_Reg const clonable_mt[] = { | |||
| 229 | 229 | ||
| 230 | int luaD_new_clonable(lua_State* L) | 230 | int luaD_new_clonable(lua_State* L) |
| 231 | { | 231 | { |
| 232 | int const _nuv{ static_cast<int>(luaL_optinteger(L, 1, 1)) }; | 232 | UserValueCount const _nuv{ static_cast<int>(luaL_optinteger(L, 1, 1)) }; |
| 233 | lua_newuserdatauv(L, sizeof(MyClonableUserdata), _nuv); | 233 | lua_newuserdatauv(L, sizeof(MyClonableUserdata), _nuv); |
| 234 | luaG_setmetatable(L, "clonable"); | 234 | luaG_setmetatable(L, "clonable"); |
| 235 | return 1; | 235 | return 1; |
