diff options
author | Thiago Macieira <thiago.macieira@nokia.com> | 2010-03-01 21:40:04 (GMT) |
---|---|---|
committer | Thiago Macieira <thiago.macieira@nokia.com> | 2010-03-02 13:56:11 (GMT) |
commit | c1b067ea8169e1d37e2a120334406f1f115298bb (patch) | |
tree | 327f48290a23ff77e88f277830a29879d38ad8ad /util/webkit | |
parent | 6711f49a6c08c08759cb2185bf202d4b316d33df (diff) | |
download | Qt-c1b067ea8169e1d37e2a120334406f1f115298bb.zip Qt-c1b067ea8169e1d37e2a120334406f1f115298bb.tar.gz Qt-c1b067ea8169e1d37e2a120334406f1f115298bb.tar.bz2 |
Fix strict-aliasing breakage with SunCC: the union trick is a GCC extension.
It's probably also an MSVC extension, because the MSVC compiler has never
complained about this fact, nor generated unintended code.
Anyway, the only way is to reinterpret_cast the quintptr. It's not an aliasing
violation to do it because we never access the integer as anything other than
quintptr.
Reviewed-By: Bradley T. Hughes
Diffstat (limited to 'util/webkit')
0 files changed, 0 insertions, 0 deletions