summaryrefslogtreecommitdiffstats
path: root/dbus/dbus-string.c
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2009-02-25 11:10:15 -0500
committerColin Walters <walters@verbum.org>2009-05-06 12:51:17 -0400
commit15f518301605ed748fbcecdf5e38d0a5ef982c3b (patch)
tree696948b35333656cd9da0bcc4103c13639cbcef4 /dbus/dbus-string.c
parenta709566edd8358ba431b7427a1530a7db0d1832d (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 'dbus/dbus-string.c')
0 files changed, 0 insertions, 0 deletions