Get unit-tests building with g++ 4.8.1

This commit is contained in:
Joe Thornber
2013-06-25 14:18:38 +01:00
parent eb8d4c6f0b
commit 730f3b9f9a
5 changed files with 15 additions and 8 deletions

View File

@@ -141,7 +141,7 @@ TEST(BlockTests, write_validator_works)
{
bm4096::write_ref wr = bm->write_lock(0, v);
::memset(wr.data().raw(), 23, sizeof(wr.data().raw()));
::memset(wr.data().raw(), 23, sizeof(wr.data().size()));
}
bm->flush(); // force the prepare method to be called