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