aboutsummaryrefslogtreecommitdiffstats
path: root/utils/cec-compliance/cec-test.cpp
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2020-04-20 11:46:48 -0700
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2020-04-21 10:53:53 +0200
commit08fc5f99998e324b8b851caa4f82d432e1463187 (patch)
treec5f7a68e248ef5c9e3789aa5798309a46df74b8a /utils/cec-compliance/cec-test.cpp
parent42fd55af695f0393a2f059d6accc08f38c6dd1d4 (diff)
utils: use bool literals
Found with clang-tidy's modernize-use-bool-literals Signed-off-by: Rosen Penev <rosenp@gmail.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'utils/cec-compliance/cec-test.cpp')
-rw-r--r--utils/cec-compliance/cec-test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/cec-compliance/cec-test.cpp b/utils/cec-compliance/cec-test.cpp
index 9a08f54b..c94d522a 100644
--- a/utils/cec-compliance/cec-test.cpp
+++ b/utils/cec-compliance/cec-test.cpp
@@ -889,7 +889,7 @@ static int tuner_ctl_test(struct node *node, unsigned me, unsigned la, bool inte
if (ret)
return ret;
- while (1) {
+ while (true) {
cec_msg_init(&msg, me, la);
cec_msg_tuner_step_increment(&msg);
fail_on_test(!transmit(node, &msg));

Privacy Policy