Commit 0cd9e813 authored by Ulf Hermann's avatar Ulf Hermann

QmlProfiler: Fix compile warning about implicit conversion to 64 bits

Change-Id: Ia3f24f3b29c3ea4a9322ca21767bb5231b2ca2eb
Reviewed-by: default avatarDavid Schulz <david.schulz@theqtcompany.com>
parent 0ba4f52c
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment