diff options
author | Trond Kjernaasen <trond@trolltech.com> | 2009-05-27 09:11:57 (GMT) |
---|---|---|
committer | Trond Kjernaasen <trond@trolltech.com> | 2009-05-27 09:15:43 (GMT) |
commit | 2c1b11f2192fd48da01a1093a7cb4a848de43c8a (patch) | |
tree | 207b7c975794e50ddf23fa3dc11983342be12de8 /util | |
parent | 8bf5a6986db852525582713cc2f2a760df4fdc60 (diff) | |
download | Qt-2c1b11f2192fd48da01a1093a7cb4a848de43c8a.zip Qt-2c1b11f2192fd48da01a1093a7cb4a848de43c8a.tar.gz Qt-2c1b11f2192fd48da01a1093a7cb4a848de43c8a.tar.bz2 |
Fixed aliasing pointer corruption in QDataStream.
Use a union instead of an unsafe cast when swapping the bytes in
the QDataStream streaming operators. The old seems to cause problems
with Link Time Code Generation optimizations with the MSVC compilers.
Task-number: 247708
Reviewed-by: Samuel
Reviewed-by: Thiago
BT: yes
Diffstat (limited to 'util')
0 files changed, 0 insertions, 0 deletions