Coding style.
authorCarl Hetherington <cth@carlh.net>
Tue, 16 Aug 2016 15:17:35 +0000 (16:17 +0100)
committerCarl Hetherington <cth@carlh.net>
Tue, 16 Aug 2016 15:17:35 +0000 (16:17 +0100)
test/dcp_test.cc

index 435056cb392550ab786e8284c4ab7a0c71093680..ce10ee28b137b32622e2ec661042bbb526499ff1 100644 (file)
@@ -251,7 +251,7 @@ BOOST_AUTO_TEST_CASE (dcp_test5)
        float buffer[4096*6];
        float* channels[1];
        channels[0] = buffer;
-       while (1) {
+       while (true) {
                sf_count_t N = sf_readf_float (sndfile, buffer, 4096);
                sound_writer->write (channels, N);
                if (N < 4096) {