From 2de8ad284e57a87490ec6df8a2af605a6f0a6e8f Mon Sep 17 00:00:00 2001 From: Isak Fyksen Date: Tue, 27 Feb 2024 14:56:42 +0100 Subject: [PATCH] Fix conversion warning in tst_qresultstore Changed type of `id`, `int` -> `size_t`, to match `liveCount`, in `CountedObject` struct. Fixes: QTBUG-122301 Change-Id: I85513d5ff6a4f0c3fb53f77e55c43b1284d1b1a8 Reviewed-by: Matthias Rauter --- tests/auto/corelib/thread/qresultstore/tst_qresultstore.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/auto/corelib/thread/qresultstore/tst_qresultstore.cpp b/tests/auto/corelib/thread/qresultstore/tst_qresultstore.cpp index 279fe592b3a..265b2cd1f61 100644 --- a/tests/auto/corelib/thread/qresultstore/tst_qresultstore.cpp +++ b/tests/auto/corelib/thread/qresultstore/tst_qresultstore.cpp @@ -549,7 +549,7 @@ struct CountedObject const size_t previousLiveCount; }; - int id = 0; + size_t id = 0; static size_t liveCount; };