summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code/doc_src_groups.cpp
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2010-11-25 21:40:34 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2011-04-14 08:52:04 (GMT)
commit0d3044b547614cbd313d90021606af1f81fb10de (patch)
tree08ac2b69fee1b6aeeb610f3fe5466bdf229d47de /doc/src/snippets/code/doc_src_groups.cpp
parent25fe0f83759649af218ea7eecd849dc0a311afbc (diff)
downloadQt-0d3044b547614cbd313d90021606af1f81fb10de.zip
Qt-0d3044b547614cbd313d90021606af1f81fb10de.tar.gz
Qt-0d3044b547614cbd313d90021606af1f81fb10de.tar.bz2
Fix strict-alias breaking warnings with GCC.
GCC doesn't like any kind of reinterpret_cast or C-style cast with pointers. So instead do the work with static_cast<>, which it seems to like. Also took the opportunity to change the generic payload type to void*, so the alignment works as expected. I wonder how we haven't had serious crashes so far on ARM... Reviewed-by: Samuel Rødal
Diffstat (limited to 'doc/src/snippets/code/doc_src_groups.cpp')
0 files changed, 0 insertions, 0 deletions