From a88d2f3f6d52bab4d032ed0d5d02586d51a0cb9d Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 19 Jun 2022 23:01:15 +0200 Subject: [PATCH] 0 -> nullptr cleanup. --- test/disk_writer_test.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/disk_writer_test.cc b/test/disk_writer_test.cc index 7d1df4873..481e72548 100644 --- a/test/disk_writer_test.cc +++ b/test/disk_writer_test.cc @@ -88,7 +88,7 @@ BOOST_AUTO_TEST_CASE (disk_writer_test1) /* Some arbitrary file size here */ make_random_file (dcp / "foo", 1024 * 1024 * 32 - 6128); - dcpomatic::write (dcp, disk.string(), partition.string(), 0); + dcpomatic::write (dcp, disk.string(), partition.string(), nullptr); BOOST_CHECK_EQUAL (system("/sbin/e2fsck -fn build/test/disk_writer_test1.partition"), 0); @@ -151,7 +151,7 @@ BOOST_AUTO_TEST_CASE (disk_writer_test2) make_random_file(partition, 4LL * 1024LL * 1024LL * 1024LL); auto const dcp = TestPaths::private_data() / "xm"; - dcpomatic::write(dcp, disk.string(), partition.string(), 0); + dcpomatic::write(dcp, disk.string(), partition.string(), nullptr); BOOST_CHECK_EQUAL(system("/sbin/e2fsck -fn build/test/disk_writer_test2.partition"), 0); -- 2.30.2