aboutsummaryrefslogtreecommitdiffstats
path: root/utils/cec-follower
diff options
context:
space:
mode:
Diffstat (limited to 'utils/cec-follower')
-rw-r--r--utils/cec-follower/cec-follower.cpp2
-rw-r--r--utils/cec-follower/cec-processing.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/utils/cec-follower/cec-follower.cpp b/utils/cec-follower/cec-follower.cpp
index 12bb5f15..ab3113b6 100644
--- a/utils/cec-follower/cec-follower.cpp
+++ b/utils/cec-follower/cec-follower.cpp
@@ -331,7 +331,7 @@ int main(int argc, char **argv)
short_options[idx++] = ':';
}
}
- while (1) {
+ while (true) {
int option_index = 0;
short_options[idx] = 0;
diff --git a/utils/cec-follower/cec-processing.cpp b/utils/cec-follower/cec-processing.cpp
index 34b54fa3..8e3a33a2 100644
--- a/utils/cec-follower/cec-processing.cpp
+++ b/utils/cec-follower/cec-processing.cpp
@@ -885,7 +885,7 @@ void testProcessing(struct node *node, bool wallclock)
poll_remote_devs(node, me);
- while (1) {
+ while (true) {
int res;
struct timeval timeval = {};

Privacy Policy