Worked around a GCC3.3.1 signed/unsigned mismatch warning
[SVN r26136]
This commit is contained in:
parent
15cb7637f6
commit
5ffd540aa6
@ -295,7 +295,7 @@ int main()
|
||||
|
||||
while ( key != 'e' )
|
||||
{
|
||||
if ( ( key >= '0' ) && ( key < '0' + noOfBits ) )
|
||||
if ( ( key >= '0' ) && ( key < static_cast< char >( '0' + noOfBits ) ) )
|
||||
{
|
||||
bitMachine.process_event( *pFlipBitEvents[ key - '0' ] );
|
||||
++eventsSentTotal;
|
||||
|
Loading…
Reference in New Issue
Block a user