diff options
Diffstat (limited to 'gentoobrowse-api/unittests/testMasks.cpp')
-rw-r--r-- | gentoobrowse-api/unittests/testMasks.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gentoobrowse-api/unittests/testMasks.cpp b/gentoobrowse-api/unittests/testMasks.cpp index 7f37d3b..055c83e 100644 --- a/gentoobrowse-api/unittests/testMasks.cpp +++ b/gentoobrowse-api/unittests/testMasks.cpp @@ -35,7 +35,7 @@ BOOST_AUTO_TEST_CASE(f1) { AdHoc::FileUtils::MemMap f( rootDir / "fixtures" / "4156eb45cf3b0ce1d7125b84efd8688c2d6e831d" / "profiles" / "package.mask"); - extract((const gchar *)f.data, f.getStat().st_size); + extract(f.sv<gchar>().data(), f.sv<gchar>().length()); BOOST_CHECK_EQUAL(masks.size(), 151); auto m = masks.front(); BOOST_CHECK(m->person); |