diff options
author | Marc Mutz <marc.mutz@qt.io> | 2022-07-18 08:45:00 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@qt.io> | 2022-07-20 13:15:55 +0200 |
commit | 84e15f662e7135e700ae9fa47cfbf59067c53d47 (patch) | |
tree | 8d6218cd0ef6aac8bbde8ed337fc865a92a66fb9 /doc | |
parent | ccb2e4dbb18fafb92d1c06a9f2c2ffa862de3abd (diff) |
QByteArray: fix count(ch) for more than 2Gi occurrences
We truncated the qsizetype result of countCharHelper() to int.
Fix by removing the int cast.
Fixes: QTBUG-105027
Pick-to: 6.4 6.3 6.2
Change-Id: I5ef35a6f36b0957d31036f70b5286db034e89a28
Reviewed-by: Sona Kurazyan <sona.kurazyan@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions