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>
commit721ed576391211ca53ecdaaecf6dd41df7bc962e
parentc0a495894d83a3c48055bd1e544f93147fc6ade1
authorIvan Solovev <ivan.solovev@qt.io>
committerIvan Solovev <ivan.solovev@qt.io>
commit timeTue, 18 Aug 2026 07:36:06 +0000