while (1) -> while (true)
[dcpomatic.git] / src / tools / dcpomatic_server_cli.cc
index 56802d8aef07a43b357c8371767d5d83eea33826..e4ac85f4cb6d48f47f19786238ec1a5c221fddc6 100644 (file)
@@ -66,7 +66,7 @@ main (int argc, char* argv[])
        bool write_log = false;
 
        int option_index = 0;
-       while (1) {
+       while (true) {
                static struct option long_options[] = {
                        { "version", no_argument, 0, 'v'},
                        { "help", no_argument, 0, 'h'},