fixed (harmless) compilation warnings

svn path=/trunk/KDE/kdebase/workspace/; revision=1027373
icc-effect-5.14.5
Hugo Pereira Da Costa 2009-09-23 22:53:01 +00:00
parent 955f04ae8e
commit 01e5f22553
1 changed files with 1 additions and 2 deletions

View File

@ -71,8 +71,7 @@ namespace Oxygen
long *states = (long *) data;
bool found = false;
static bool first( true );
for( unsigned long i = 0; i<count && !( found = (searched == states[i]) ); i++ )
for( unsigned long i = 0; (i<count) &&!( found = (searched == (Atom) states[i]) ); i++ )
{}
supportedAtoms_[atom] = found;