tests/gvariant: Fix test on big endian architectures
authorColin Walters <walters@verbum.org>
Wed, 5 Sep 2012 13:04:58 +0000 (09:04 -0400)
committerColin Walters <walters@verbum.org>
Thu, 6 Sep 2012 13:23:06 +0000 (09:23 -0400)
commite6df67abe60654bc65317e05881be317ccbdc03b
tree7a41194c5c602465e8e182bc3915d3269bad99f8
parent02f143c2d9fa793f872df65441f86bc958d5c731
tests/gvariant: Fix test on big endian architectures

We need to ensure we get the exact same byte-level GVariant, so
byteswap on big endian architectures.

https://bugzilla.gnome.org/show_bug.cgi?id=683384
glib/tests/gvariant.c