while (1) -> while (true)
[dcpomatic.git] / src / tools / dcpomatic_kdm.cc
index 8c26ba4ccc5cba33eb8eadd0b06cfae9e9bf461a..092a1ca1b0725027a5026491ea1efb54b93a7866 100644 (file)
@@ -116,7 +116,7 @@ int main (int argc, char* argv[])
        program_name = argv[0];
        
        int option_index = 0;
-       while (1) {
+       while (true) {
                static struct option long_options[] = {
                        { "help", no_argument, 0, 'h'},
                        { "output", required_argument, 0, 'o'},