summaryrefslogtreecommitdiff
path: root/test/input.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/input.c')
-rw-r--r--test/input.c3
1 files changed, 3 insertions, 0 deletions
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 ++;
}