summaryrefslogtreecommitdiffstats
path: root/src/corelib/arch/sh
diff options
context:
space:
mode:
authorTrond Kjernaasen <trond@trolltech.com>2009-05-27 09:11:57 (GMT)
committerTrond Kjernaasen <trond@trolltech.com>2009-05-27 09:15:43 (GMT)
commit2c1b11f2192fd48da01a1093a7cb4a848de43c8a (patch)
tree207b7c975794e50ddf23fa3dc11983342be12de8 /src/corelib/arch/sh
parent8bf5a6986db852525582713cc2f2a760df4fdc60 (diff)
downloadQt-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 'src/corelib/arch/sh')
0 files changed, 0 insertions, 0 deletions