Ignore:
Timestamp:
08/11/13 17:19:03 (12 years ago)
Author:
epyon
Message:
  • warning cleanup for clang and gcc
File:
1 edited

Legend:

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

    r188 r198  
    257257{
    258258        lua_getfield( L->L, -1, element.c_str() );
    259         int result = lua_type( L->L, -1 ) == LUA_TNUMBER ? lua_tounsigned( L->L, -1 ) : defval;
     259        unsigned result = lua_type( L->L, -1 ) == LUA_TNUMBER ? lua_tounsigned( L->L, -1 ) : defval;
    260260        lua_pop( L->L, 1 );
    261261        return result;
Note: See TracChangeset for help on using the changeset viewer.