From: Philippe Waroquiers Date: Sun, 25 Sep 2016 18:38:19 +0000 (+0000) Subject: Fix test so that leaked bytes is the same in 32 and 64 bits X-Git-Tag: svn/VALGRIND_3_13_0~381 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4a12396ba8f393c19c997d88b88c9a56f5c203b2;p=thirdparty%2Fvalgrind.git Fix test so that leaked bytes is the same in 32 and 64 bits git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15985 --- diff --git a/memcheck/tests/leak-autofreepool.c b/memcheck/tests/leak-autofreepool.c index a9aafdd6d3..2bee601819 100644 --- a/memcheck/tests/leak-autofreepool.c +++ b/memcheck/tests/leak-autofreepool.c @@ -35,7 +35,7 @@ struct pool struct cell { struct cell *next; - int x; + char x[16 - sizeof(void*)]; }; static struct pool _PlainPool, *PlainPool = &_PlainPool;