No bit operations with signed types.
svn path=/trunk/KDE/kdebase/workspace/; revision=527741
This commit is contained in:
parent
95e16abda2
commit
f64f8d15ae
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue