aboutsummaryrefslogtreecommitdiffstats
path: root/tools/qmllint/main.cpp
diff options
context:
space:
mode:
authorDmitry Shachnev <mitya57@gmail.com>2021-02-09 21:29:49 +0300
committerDmitry Shachnev <mitya57@gmail.com>2021-02-09 23:46:12 +0300
commitdab0d62b655ce9a476993de2558a573a5066288c (patch)
tree311e39f773329c6a946ea5fba67049a63ee8ecb5 /tools/qmllint/main.cpp
parent707f7603fbb6bce60ed532cd42ff2dc9ae39e611 (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 'tools/qmllint/main.cpp')
0 files changed, 0 insertions, 0 deletions