fixed (harmless) compilation warnings

svn path=/trunk/KDE/kdebase/workspace/; revision=1027373
This commit is contained in:
Hugo Pereira Da Costa 2009-09-23 22:53:01 +00:00
parent 955f04ae8e
commit 01e5f22553

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;