summaryrefslogtreecommitdiffstats
path: root/src/core/services
diff options
context:
space:
mode:
authorAurélien Brooke <aurelien@bahiasoft.fr>2022-12-20 21:13:45 +0100
committerAurélien Brooke <aurelien@bahiasoft.fr>2022-12-21 17:31:36 +0100
commitb291ef7442453d3ea842756189413d9521029b1b (patch)
treed7f9466a3572f8d831c65ec3e9cd76298d038fb5 /src/core/services
parent1acc6c9ce4fa5fe1c1b55edb7e86fe9cc000deea (diff)
Remove qsizetype to int narrowing conversions
Change the variable type from int to qsizetype when receiving qsizetype values. Change-Id: I2adf71e1d2f26b1452fee28890c0f68300f54224 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'src/core/services')
-rw-r--r--src/core/services/qsysteminformationservice.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/services/qsysteminformationservice.cpp b/src/core/services/qsysteminformationservice.cpp
index 3ae5f76a6..70d6ded84 100644
--- a/src/core/services/qsysteminformationservice.cpp
+++ b/src/core/services/qsysteminformationservice.cpp
@@ -153,7 +153,7 @@ void QSystemInformationServicePrivate::writeFrameJobLogStats()
// Write submission thread
{
QMutexLocker lock(&m_localStoragesMutex);
- const int submissionJobSize = m_submissionStorage != nullptr ? m_submissionStorage->size() : 0;
+ const qsizetype submissionJobSize = m_submissionStorage != nullptr ? m_submissionStorage->size() : 0;
if (submissionJobSize > 0) {
FrameHeader header;
header.frameId = m_frameId;