while (1) -> while (true)
[dcpomatic.git] / src / tools / dcpomatic_create.cc
index c30f4e51e7fc66c7963f3aaa2f65b3c7b9c1296d..26de1c71f8f2485bf273135f110bca61dc9a1bb6 100644 (file)
@@ -81,7 +81,7 @@ main (int argc, char* argv[])
        boost::filesystem::path output;
        
        int option_index = 0;
-       while (1) {
+       while (true) {
                static struct option long_options[] = {
                        { "version", no_argument, 0, 'v'},
                        { "help", no_argument, 0, 'h'},