]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Fix an assert. Unbreak build on 32-bit platforms.
authorFlorian Krohm <florian@eich-krohm.de>
Wed, 21 Jan 2015 10:38:18 +0000 (10:38 +0000)
committerFlorian Krohm <florian@eich-krohm.de>
Wed, 21 Jan 2015 10:38:18 +0000 (10:38 +0000)
git-svn-id: svn://svn.valgrind.org/vex/trunk@3073

VEX/priv/main_util.c

index 611884dee481acf27dce3d0895e9bd19617ed533..5f2fa5c4fc0c588f108b72c60dce64de0dbdbb79 100644 (file)
@@ -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. */