Fix left-shift wider than an int's width
The other left shifts in this file already have the Q_UINT64_C wrapper. This one was missed. Change-Id: I42e7ef1a481840699a8dffff140d758ac370c402 Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
This commit is contained in:
parent
aa485aee2f
commit
09d9af59f0
@ -676,7 +676,7 @@ void qDetectCpuFeatures()
|
||||
disable.prepend(' ');
|
||||
for (int i = 0; i < features_count; ++i) {
|
||||
if (disable.contains(features_string + features_indices[i]))
|
||||
f &= ~(1 << i);
|
||||
f &= ~(Q_UINT64_C(1) << i);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user