diff options
author | Dmitry Shachnev <mitya57@gmail.com> | 2021-02-09 21:29:49 +0300 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-02-09 21:59:26 +0000 |
commit | db8cba5e0a877b12683a47311569ce119df2005a (patch) | |
tree | 241bfed65392133d5b798545ddd7d4a63aadf0f6 /sync.profile | |
parent | 4b2eabdf21ff71d557bae36f99cf3998dafe324c (diff) |
Make tst_qmldiskcache::regenerateAfterChange() pass on big endian systems
We cannot use reinterpret_cast here, because testUnit->constants()
returns a pointer to quint64_le data, which needs to be converted to
native endianness first.
Here I used the QV4::Value converter that accepts quint64, so this
conversion now happens implicitly.
Change-Id: Iff6e3e4554af8890e61cb06e6fd79339c7a14653
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
(cherry picked from commit dab0d62b655ce9a476993de2558a573a5066288c)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'sync.profile')
0 files changed, 0 insertions, 0 deletions