operator bool on Time is a really bad idea; removed it and fixed lots of bugs.
[dcpomatic.git] / test / client_server_test.cc
index a80297ec690b132c041aa9d643f882c6457ff168..54bbd520f8dd9c8d37ca2d1b30efd00cf2bca2f4 100644 (file)
@@ -36,7 +36,7 @@ do_remote_encode (shared_ptr<DCPVideoFrame> frame, ServerDescription description
        BOOST_CHECK (remotely_encoded);
        
        BOOST_CHECK_EQUAL (locally_encoded->size(), remotely_encoded->size());
-       BOOST_CHECK (memcmp (locally_encoded->data(), remotely_encoded->data(), locally_encoded->size()) == 0);
+       BOOST_CHECK_EQUAL (memcmp (locally_encoded->data(), remotely_encoded->data(), locally_encoded->size()), 0);
 }
 
 BOOST_AUTO_TEST_CASE (client_server_test)