Changeset 364 for trunk/src/lua/lua_handle.cc
- Timestamp:
- 05/15/15 12:52:52 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lua/lua_handle.cc
r335 r364 15 15 NV_LUA_STACK_ASSERT( L, +1 ); 16 16 lua_rawgeti( L, LUA_REGISTRYINDEX, pseudoindex ); // table 17 lua_rawgeti( L, -1, index );// table, entry17 lua_rawgeti( L, -1, (int)index ); // table, entry 18 18 if ( !lua_istable( L, -1 ) ) 19 19 { … … 57 57 lua_rawgeti( L, LUA_REGISTRYINDEX, pseudoindex ); 58 58 lua_insert( L, -2 ); 59 lua_rawseti( L, -2, index );59 lua_rawseti( L, -2, (int)index ); 60 60 lua_pop( L, 1 ); 61 61 } … … 66 66 lua_rawgeti( L, LUA_REGISTRYINDEX, pseudoindex ); // table 67 67 lua_pushinteger( L, 0 ); 68 lua_rawseti( L, -2, index );68 lua_rawseti( L, -2, (int)index ); 69 69 lua_pop( L, 1 ); 70 70 }
Note: See TracChangeset
for help on using the changeset viewer.