summaryrefslogtreecommitdiffstats
path: root/mkspecs/freebsd-g++
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2015-11-11 19:22:43 -0800
committerThiago Macieira <thiago.macieira@intel.com>2016-06-09 15:59:24 +0000
commitb05741937c2827c05d2160ccf98f389eb03b6f35 (patch)
tree5c01b5778751ca30c04bfcbc215b19a951c8840d /mkspecs/freebsd-g++
parent7835b260a9f60c98ee41468b040ac080782afe2f (diff)
Plug padding holes in QHostAddressPrivate
On ABIs where quint64 is aligned on 8-byte boundaries (such 32-bit Windows and all 64-bit systems), there was a padding hole of 4 bytes between QHostAddressPrivate::a and the anonymous union. If we move the member to after the union, there is no hole anymore. That operation causes the tail padding to grow from 3 to 7 bytes. Since we also don't need full 32 bits for the protocol, we can shrink the structure by 8 bytes on those architectures and by 4 bytes on 32-bit Unix systems. Change-Id: I461e9fc7199748faa187ffff1415d6601a7bd777 Reviewed-by: hjk <hjk@theqtcompany.com>
Diffstat (limited to 'mkspecs/freebsd-g++')
0 files changed, 0 insertions, 0 deletions