diff options
Diffstat (limited to 'test/input.c')
-rw-r--r-- | test/input.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/input.c b/test/input.c index 4d840b9b4..4c80fcc91 100644 --- a/test/input.c +++ b/test/input.c @@ -1213,8 +1213,11 @@ static void dix_valuator_alloc(void) g_assert(v); g_assert(v->numAxes == num_axes); +#ifndef __i386__ + /* must be double-aligned on 64 bit */ g_assert(((void*)v->axisVal - (void*)v) % sizeof(double) == 0); g_assert(((void*)v->axes - (void*)v) % sizeof(double) == 0); +#endif num_axes ++; } |