No bit operations with signed types.

svn path=/trunk/KDE/kdebase/workspace/; revision=527741
This commit is contained in:
Luboš Luňák 2006-04-09 09:23:16 +00:00
parent 95e16abda2
commit f64f8d15ae

View file

@ -120,8 +120,8 @@ static Rules* findRule( const QList< Rules* >& rules, Window wid, bool whole_app
if( rule->types != NET::AllTypesMask )
{
int bits = 0;
for( int bit = 1;
bit < 1 << 31;
for( unsigned int bit = 1;
bit < 1U << 31;
bit <<= 1 )
if( rule->types & bit )
++bits;