From 8ef0974874f322e3ce2f3e6be4ab3c7e73a7b380 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Thu, 19 May 2011 14:50:17 +1000 Subject: test: don't test for double alignment on i386. (#36986) i386 is one of the few architectures that doesn't need double alignment. X.Org Bug 36986 Signed-off-by: Peter Hutterer --- test/input.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/input.c b/test/input.c index ac37d67a1..837ce49dc 100644 --- a/test/input.c +++ b/test/input.c @@ -1223,8 +1223,11 @@ static void dix_valuator_alloc(void) assert(v); assert(v->numAxes == num_axes); +#ifndef __i386__ + /* must be double-aligned on 64 bit */ assert(((void*)v->axisVal - (void*)v) % sizeof(double) == 0); assert(((void*)v->axes - (void*)v) % sizeof(double) == 0); +#endif num_axes ++; } -- cgit v1.2.3