Ignore:
Timestamp:
06/20/15 00:05:17 (10 years ago)
Author:
epyon
Message:
  • code compiles cleanly on maximum warning level
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lua/lua_handle.cc

    r395 r406  
    1616        NV_LUA_STACK_ASSERT( L, +1 );
    1717        lua_rawgeti( L, LUA_REGISTRYINDEX, pseudoindex ); // table
    18         lua_rawgeti( L, -1, (int)index );                 // table, entry
     18        lua_rawgeti( L, -1, int( index ) );                 // table, entry
    1919        if ( !lua_istable( L, -1 ) )
    2020        {
     
    5858        lua_rawgeti( L, LUA_REGISTRYINDEX, pseudoindex );
    5959        lua_insert( L, -2 );
    60         lua_rawseti( L, -2, (int)index );
     60        lua_rawseti( L, -2, int( index ) );
    6161        lua_pop( L, 1 );
    6262}
     
    6767        lua_rawgeti( L, LUA_REGISTRYINDEX, pseudoindex ); // table
    6868        lua_pushinteger( L, 0 );
    69         lua_rawseti( L, -2, (int)index );
     69        lua_rawseti( L, -2, int( index ) );
    7070        lua_pop( L, 1 );
    7171}
Note: See TracChangeset for help on using the changeset viewer.