diff options
author | Isak Fyksen <isak.fyksen@qt.io> | 2024-02-27 14:56:42 +0100 |
---|---|---|
committer | Isak Fyksen <isak.fyksen@qt.io> | 2024-02-27 19:45:42 +0100 |
commit | 2de8ad284e57a87490ec6df8a2af605a6f0a6e8f (patch) | |
tree | c78918a9de4cd7694c1890f33f150b717801d94e /tests/auto/corelib/thread | |
parent | ab0158474b94ea6a86a448ade5f8a33816553393 (diff) |
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 <matthias.rauter@qt.io>
Diffstat (limited to 'tests/auto/corelib/thread')
-rw-r--r-- | tests/auto/corelib/thread/qresultstore/tst_qresultstore.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/corelib/thread/qresultstore/tst_qresultstore.cpp b/tests/auto/corelib/thread/qresultstore/tst_qresultstore.cpp index 279fe592b3..265b2cd1f6 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; }; |