Merge master.
[dcpomatic.git] / src / tools / dcpomatic_cli.cc
index acd1335e62d5e5ef57c469232e429db29c22e6c6..7dd820b9571bc9becf931b176aabcd975e75d996 100644 (file)
@@ -69,7 +69,7 @@ main (int argc, char* argv[])
        bool keep_going = false;
 
        int option_index = 0;
-       while (1) {
+       while (true) {
                static struct option long_options[] = {
                        { "version", no_argument, 0, 'v'},
                        { "help", no_argument, 0, 'h'},
@@ -212,7 +212,7 @@ main (int argc, char* argv[])
        }
 
        if (keep_going) {
-               while (1) {
+               while (true) {
                        dcpomatic_sleep (3600);
                }
        }