diff --git a/test/test_storage.cpp b/test/test_storage.cpp index 48b97b231..86b400666 100644 --- a/test/test_storage.cpp +++ b/test/test_storage.cpp @@ -313,7 +313,8 @@ void run_elevator_test() { io_service ios; file_pool fp; - boost::intrusive_ptr ti = ::create_torrent(0, 16, 6000); + boost::intrusive_ptr ti = ::create_torrent(NULL, 16, 6000); + TEST_CHECK(ti); { error_code ec;