state explicitely casted to quint16

This commit is contained in:
Uwe Rathmann 2021-09-02 13:12:29 +02:00
parent decbce4bdd
commit bd30a5bbd5
1 changed files with 2 additions and 3 deletions

View File

@ -54,9 +54,8 @@ namespace
return false;
}
const auto stateBit = static_cast< QskAspect::State >(
1 << qCountTrailingZeroBits( mask ) );
const auto stateBit = lowestState( mask );
mask &= ~stateBit;
bool ret = removeHintStateMask( table, aspect, state, mask );