Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information