]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Fix test so that leaked bytes is the same in 32 and 64 bits
authorPhilippe Waroquiers <philippe.waroquiers@skynet.be>
Sun, 25 Sep 2016 18:38:19 +0000 (18:38 +0000)
committerPhilippe Waroquiers <philippe.waroquiers@skynet.be>
Sun, 25 Sep 2016 18:38:19 +0000 (18:38 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15985

memcheck/tests/leak-autofreepool.c

index a9aafdd6d319ca9021e748efb9ceb4b5cffd8fde..2bee601819183eca9f7144a517e575281448095e 100644 (file)
@@ -35,7 +35,7 @@ struct pool
 struct cell
 {  
   struct cell *next;
-  int x;
+  char x[16 - sizeof(void*)];
 };
 
 static struct pool _PlainPool, *PlainPool = &_PlainPool;