From: Florian Krohm Date: Wed, 21 Jan 2015 10:38:18 +0000 (+0000) Subject: Fix an assert. Unbreak build on 32-bit platforms. X-Git-Tag: svn/VALGRIND_3_11_0^2~109 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=402babd51650ac9d3cdf91540f3906e2b603b7ca;p=thirdparty%2Fvalgrind.git Fix an assert. Unbreak build on 32-bit platforms. git-svn-id: svn://svn.valgrind.org/vex/trunk@3073 --- 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. */