Ignore:
Timestamp:
03/08/16 08:05:51 (9 years ago)
Author:
epyon
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gui/gui_style.cc

    r448 r487  
    3333        if ( !resolve( e->m_id, e->m_class, cselector, centry, LUA_TTABLE ) ) return false;
    3434        vec = vec4();
    35         for ( int i = 0; i < 4; ++i )
     35        for ( size_t i = 0; i < 4; ++i )
    3636        {
    37                 lua_rawgeti( m_lua, -1, i+1 );
     37                lua_rawgeti( m_lua, -1, int(i+1) );
    3838                if ( lua_isnil( m_lua, -1 ) ) return true;
    3939                vec[i] = static_cast< float >( lua_tonumber( m_lua, -1 ) );
Note: See TracChangeset for help on using the changeset viewer.