QBinaryJson::fromBinaryData(): do the comparison in size_t
In Qt 6, the QBA can actually store more than UINT_MAX bytes, so
casting to uint can truncate. Use size_t instead.
Amends the port of Qt container size_type form int to qsizetype
(Qt 6.0).
Task-number: QTBUG-149036
Pick-to: 6.12 6.11 6.8 6.5
Change-Id: Ia63cd6576233e74d9cf5e8def9d3e05065a63831
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
| commit | 721ed576391211ca53ecdaaecf6dd41df7bc962e |
| parent | c0a495894d83a3c48055bd1e544f93147fc6ade1 |
| author | Ivan Solovev <ivan.solovev@qt.io> |
| committer | Ivan Solovev <ivan.solovev@qt.io> |
| commit time | Tue, 18 Aug 2026 07:36:06 +0000 |