diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2018-11-29 11:57:51 +0100 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2018-11-30 15:14:26 +0000 |
commit | d23d146175d6fab2ede50818777afe248ca0be23 (patch) | |
tree | 70cb356af69c0cc63470f6e6f10fcc12d5c366ab /tests/auto/gui/text/qtextpiecetable | |
parent | 096d87c8b01a32083d6819516be17050b0f183a9 (diff) |
Fix alignment of temporary QRgba64 buffers on win32
The alignment of long long on 32-bit windows is only 32-bits, but we
should be safe to assume it is aligned at 64-bit.
Since QRgba64 is a public type, we can't fix the alignment there without
breaking ABI, so instead fix it where temporary buffers are allocated.
At the same time be consistent about using QRgba64 so we can switch to it
enforcing alignment in Qt6.
Change-Id: Ie15c305bc867c62a13df8eb2b1678e92174e1f97
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'tests/auto/gui/text/qtextpiecetable')
0 files changed, 0 insertions, 0 deletions