Merge master.
[dcpomatic.git] / src / lib / file_group.cc
index 54ec8280c0a6830da2a671137dc7a4f45336b61b..9c8d43204b1b830726c073de894e7b9f5c6e9e22 100644 (file)
@@ -151,7 +151,7 @@ int
 FileGroup::read (uint8_t* buffer, int amount) const
 {
        int read = 0;
-       while (1) {
+       while (true) {
                int const this_time = fread (buffer + read, 1, amount - read, _current_file);
                read += this_time;
                if (read == amount) {