Changeset 215 for trunk/src/lua/lua_flags.cc
- Timestamp:
- 09/09/13 21:14:19 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lua/lua_flags.cc
r209 r215 20 20 // TODO : this can be optimized 21 21 lua_createtable( L, 0, 0 ); 22 for ( uint32 c = 0; c < count; ++c )22 for ( int c = 0; c < static_cast< int >( count ); ++c ) 23 23 { 24 uint32idx = c / 8;25 uint32pos = c % 8;24 int idx = c / 8; 25 int pos = c % 8; 26 26 if ( ( data[ idx ] & ( 1 << static_cast< uint8 >( pos ) ) ) != 0 ) 27 27 {
Note: See TracChangeset
for help on using the changeset viewer.