diff options
author | Dmitry Shachnev <mitya57@gmail.com> | 2021-02-09 21:29:49 +0300 |
---|---|---|
committer | Dmitry Shachnev <mitya57@gmail.com> | 2021-02-09 23:46:12 +0300 |
commit | dab0d62b655ce9a476993de2558a573a5066288c (patch) | |
tree | 311e39f773329c6a946ea5fba67049a63ee8ecb5 /src/qml/doc/src/qmllanguageref/syntax | |
parent | 707f7603fbb6bce60ed532cd42ff2dc9ae39e611 (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
Pick-to: 6.0 6.1
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/qml/doc/src/qmllanguageref/syntax')
0 files changed, 0 insertions, 0 deletions