Random warning cleanup

Clang16 in C++20 mode.

Change-Id: I87801e362a3ba6e38cfebd319a7aee2ed4e45568
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
This commit is contained in:
hjk
2023-12-07 15:56:20 +01:00
parent 960ac1adf4
commit 3e62f5d522
9 changed files with 28 additions and 40 deletions

View File

@@ -274,7 +274,7 @@ void QmlProfilerTraceFile::loadQzt(QIODevice *device)
void QmlProfilerTraceFile::addEventsProgress(qint64 timestamp)
{
addProgressValue(static_cast<float>(timestamp) / static_cast<float>(traceEnd() - traceStart())
* ProgressEvents);
* int(ProgressEvents));
}
void QmlProfilerTraceFile::addStageProgress(QmlProfilerTraceFile::ProgressValues stage)