diff options
Diffstat (limited to 'xorg-server/test/input.c')
-rw-r--r-- | xorg-server/test/input.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xorg-server/test/input.c b/xorg-server/test/input.c index a54feffec..87c752a7f 100644 --- a/xorg-server/test/input.c +++ b/xorg-server/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 ++;
}
|