summaryrefslogtreecommitdiffstats
path: root/src/testlib/qtest.h
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2021-06-22 08:28:18 -0700
committerThiago Macieira <thiago.macieira@intel.com>2021-06-23 13:43:26 -0700
commit8b882f42e80f4b98e8fefcbae30a85382e67ef4a (patch)
treec33332655df662123316b135fe819ae3d54286c8 /src/testlib/qtest.h
parentd6e01ae05c3695aaf7d0d434718154b6ff151e32 (diff)
SCTP: fix qsizetype missHEADdev
Found by clang 12: qsctpsocket.cpp:172:56: error: result of comparison of constant 9223372036854775782 with expression of type 'int' is always true [-Werror,-Wtautological-constant-out-of-range-compare] Q_ASSERT((datagramSize + int(bytesToRead)) < MaxByteArraySize); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~ Change-Id: I7246c3e7bb894e0d9521fffd168af11764956d8f Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'src/testlib/qtest.h')
0 files changed, 0 insertions, 0 deletions