summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-06-19 23:01:15 +0200
committerCarl Hetherington <cth@carlh.net>2022-06-21 18:55:16 +0200
commita88d2f3f6d52bab4d032ed0d5d02586d51a0cb9d (patch)
tree95c354b241734111b5b3ff029c37d70866bb719a
parent1802418f8325813cc7485394c911973bb123b822 (diff)
0 -> nullptr cleanup.
-rw-r--r--test/disk_writer_test.cc4
1 files 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);