Skip to content

tests/gvariant.c: ensure posix_memalign alignment argument is correct

posix_memalign() requires the alignment to be a multiple of sizeof(void*), and a power of 2. Passing 8 does not fulfil both of those constraints on Arm Morello which resulted in a "posix_memalign failed" test failure.

Co-authored-by: Graeme Jenkinson

Merge request reports