From: RĂ©mi Denis-Courmont Date: Sun, 30 Aug 2009 18:37:23 +0000 (+0300) Subject: Fix test case X-Git-Tag: 1.1.0-ff~3715 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=cb81fa6f2d10d1545054a507b6e23337981e0242;p=vlc Fix test case --- diff --git a/src/test/test_block.c b/src/test/test_block.c index 38304eaf89..0f88219e46 100644 --- a/src/test/test_block.c +++ b/src/test/test_block.c @@ -74,7 +74,7 @@ static void test_block (void) assert (block->i_buffer == 200 + sizeof (text) + 200); assert (!memcmp (block->p_buffer + 200, text, sizeof (text))); - block = block_Realloc (block, -200, sizeof (text)); + block = block_Realloc (block, -200, sizeof (text) + 200); assert (block != NULL); assert (block->i_buffer == sizeof (text)); assert (!memcmp (block->p_buffer, text, sizeof (text)));