From 402babd51650ac9d3cdf91540f3906e2b603b7ca Mon Sep 17 00:00:00 2001 From: Florian Krohm Date: Wed, 21 Jan 2015 10:38:18 +0000 Subject: [PATCH] Fix an assert. Unbreak build on 32-bit platforms. git-svn-id: svn://svn.valgrind.org/vex/trunk@3073 --- VEX/priv/main_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VEX/priv/main_util.c b/VEX/priv/main_util.c index 611884dee4..5f2fa5c4fc 100644 --- a/VEX/priv/main_util.c +++ b/VEX/priv/main_util.c @@ -229,7 +229,7 @@ void* LibVEX_Alloc ( SizeT nbytes ) }; /* Make sure the compiler does no surprise us */ - vassert(offsetof(struct align,x) == REQ_ALIGN); + vassert(offsetof(struct align,x) <= REQ_ALIGN); #if 0 /* Nasty debugging hack, do not use. */ -- 2.47.2