summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2009-02-25 11:10:15 -0500
committerColin Walters <walters@verbum.org>2009-03-17 16:42:43 -0400
commit7de15965c263dccf22b08ffb5939f37f7043795d (patch)
tree4e83dd335f8309c44343e9fa0b474b6048639166 /tools
parent3f3a53190237034f01d4d798e5dea0b001b16d17 (diff)
Bug 20137 - Fix alignment usage when demarshaling basics
We can't safely type-pun from e.g. char * to DBusBasicValue *, because the latter has higher alignment requirements. Instead, create an explicit pointer for each case. Also, we mark each one volatile to sidestep strict aliasing issues, for the future when we turn on strict aliasing support. Original patch and review from Jay Estabrook <jay.estabrook@hp.com>.
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions