summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qmessageauthenticationcode.h
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@qt.io>2023-02-21 11:13:37 +0100
committerMarc Mutz <marc.mutz@qt.io>2023-02-23 16:28:37 +0100
commit303caa40da6cee296ffcee3ae13b88d788a2e225 (patch)
treef558ce17998e616b2f6ba02da85a60132874360b /src/corelib/tools/qmessageauthenticationcode.h
parentd32d2137b7d513f38450d3a5e07a997c3bc90aa1 (diff)
QCryptographicHash: make narrowing in addData(QIODevice*) explicit
QIODevice::read(ptr, n) returns qint64, not int. The returned values are, however, confined to the interval [-1,1024], so no harm done. Make the narrowing explicit, though. Pick-to: 6.5 Change-Id: I5f95292ca6e05f0f402e7258e590593eff361255 Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/tools/qmessageauthenticationcode.h')
0 files changed, 0 insertions, 0 deletions