diff options
| author | Marc Mutz <marc.mutz@qt.io> | 2025-09-08 10:21:40 +0200 |
|---|---|---|
| committer | Marc Mutz <marc.mutz@qt.io> | 2025-09-09 12:35:39 +0000 |
| commit | a3572dd5e8a27e6c308255ddcf05de4dc9036cdd (patch) | |
| tree | 82de60eb9ef3fd2a4aa54c0eb8ee46ea2fe30d2c /src/concurrent/qtconcurrentrun.cpp | |
| parent | 1f9e38d41a8c9f10b7f56b671915b5fe374bf3a9 (diff) | |
QJsonObject: fix -Werror,-Wshorten-64-to-32 on 32-bit platforms
The `index` member is a quint64 bitfield, so on 32-bit platforms,
where qsizetype is just int, the return expression, indeed, narrows,
causing warnings, which may break the build if -Werror is in effect
(either for the Qt build itself, or, seeing as this is a public
header, for user projects).
Pick-to: 6.10 6.9 6.8 6.5
Task-number: QTBUG-139951
Change-Id: I06602ce85234207cf90e1acbbbba4d89998ac399
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src/concurrent/qtconcurrentrun.cpp')
0 files changed, 0 insertions, 0 deletions
