The array of offsets is little-endian, even on big-endian architectures like s390x.
Fixes: ade71fb5 "gvariant: Don’t allow child elements to overlap with each other" Resolves: #2839 (closed) Signed-off-by: Simon McVittie smcv@collabora.com
Trivial backport of !3136 (merged) to glib-2-74
.