QmlProfiler: Fix compile warning about implicit conversion to 64 bits

Change-Id: Ia3f24f3b29c3ea4a9322ca21767bb5231b2ca2eb
Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
This commit is contained in:
Ulf Hermann
2016-05-26 09:27:15 +02:00
parent 0ba4f52ca0
commit 0cd9e81378

View File

@@ -237,7 +237,7 @@ void QmlProfilerModelManager::announceFeatures(quint64 features, EventLoader eve
}
for (int feature = 0; feature != MaximumProfileFeature; ++feature) {
if (features & (1 << feature))
if (features & (1ULL << feature))
d->eventLoaders[static_cast<ProfileFeature>(feature)].append(eventLoader);
}