diff options
| author | Tatiana Borisova <tatiana.borisova@qt.io> | 2024-08-29 12:52:52 +0200 |
|---|---|---|
| committer | Ivan Solovev <ivan.solovev@qt.io> | 2024-09-16 16:57:50 +0000 |
| commit | fc5015877f2fbf81178b5eb0aefccab5ace0a35d (patch) | |
| tree | 12c95c7b93434d78579c6fee021ed5d8ca41b543 /src/network/access/qnetworkreplywasmimpl.cpp | |
| parent | bbf980e43f16c99504d75998217b88855edd3365 (diff) | |
tst_bench_qtimezone: fix a 'sign-compare' warning
- The problem is found by a clang-tidy tool.
Use size_t instead of qsizetype as a type for the index variable to
get rid of the warning.
The clang-tidy output:
tst_bench_qtimezone.cpp:130:30: warning: comparison of integer expressions of different signedness: ‘qsizetype’ {aka ‘long long int’}
and ‘std::size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
locIndex < std::size(locName) ? locName[locIndex] :
where.bcp47Name().toUtf8();
Task-number: QTBUG-105464
Change-Id: I603cbf201827e6e502c9737b02928f31ad6b2517
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
Diffstat (limited to 'src/network/access/qnetworkreplywasmimpl.cpp')
0 files changed, 0 insertions, 0 deletions
