GVariant tests: fix bad allignment assumption
authorRyan Lortie <desrt@desrt.ca>
Tue, 5 Oct 2010 06:11:22 +0000 (02:11 -0400)
committerRyan Lortie <desrt@desrt.ca>
Tue, 5 Oct 2010 06:11:22 +0000 (02:11 -0400)
commita7662ef315d7f369cbbc438dec76e3b9db3cd5ba
treef8658496cdcab764cc4ce826036596f54ddf0c29
parent3c5b50c4243025c9f42caac9a429291194b77be5
GVariant tests: fix bad allignment assumption

One of the GVariant test cases allocates a pair of character arrays on
the stack and then passes them to functions that assume that they will
be aligned to a multiple of two.

This is not the case for some versions of GCC (4.0.3 on PowerPC).
glib/tests/gvariant.c