Fix unsigned/signed mismatch.
authorCarl Hetherington <cth@carlh.net>
Sat, 19 Aug 2023 23:53:19 +0000 (01:53 +0200)
committerCarl Hetherington <cth@carlh.net>
Sat, 19 Aug 2023 23:53:19 +0000 (01:53 +0200)
test/audio_buffers_test.cc

index 76785d8ecb09adf1d2bd4b24b1cd5cc5340812ab..66d2950631f8eba2e38fd44830d217154f7a51c5 100644 (file)
@@ -352,7 +352,7 @@ BOOST_AUTO_TEST_CASE(audio_buffers_set_channels_lower)
        random_fill(buffers);
 
        buffers.set_channels(4);
-       BOOST_REQUIRE_EQUAL(buffers.channels(), 4U);
+       BOOST_REQUIRE_EQUAL(buffers.channels(), 4);
 
        srand(4);
        for (int i = 0; i < 9933; ++i) {