aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/test
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-06-08 08:21:55 +0200
committermarha <marha@users.sourceforge.net>2011-06-08 08:21:55 +0200
commitadeb8256da9b636648178f729d7b3316a0a8e990 (patch)
treee257c9261b81b08242658404c16fcd6749fcd7d5 /xorg-server/test
parent09a5e4f06e54a817ecbb04b3e2bdc28f27fa3e61 (diff)
downloadvcxsrv-adeb8256da9b636648178f729d7b3316a0a8e990.tar.gz
vcxsrv-adeb8256da9b636648178f729d7b3316a0a8e990.tar.bz2
vcxsrv-adeb8256da9b636648178f729d7b3316a0a8e990.zip
xserver libX11 mesa git update 8 Jun 2011
Diffstat (limited to 'xorg-server/test')
-rw-r--r--xorg-server/test/input.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/xorg-server/test/input.c b/xorg-server/test/input.c
index ac37d67a1..837ce49dc 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 ++;
}