aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--utils/cec-compliance/cec-test.cpp4
-rw-r--r--utils/cec-follower/cec-follower.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/utils/cec-compliance/cec-test.cpp b/utils/cec-compliance/cec-test.cpp
index dac188ba..283abe43 100644
--- a/utils/cec-compliance/cec-test.cpp
+++ b/utils/cec-compliance/cec-test.cpp
@@ -739,7 +739,7 @@ static int deck_ctl_deck_ctl(struct node *node, unsigned me, unsigned la, bool i
}
fail_on_test(cec_msg_status_is_abort(&msg));
/* Wait for Deck to finish Skip Forward. */
- for (unsigned i = 0; deck_status == CEC_OP_DECK_INFO_SKIP_FWD && i < long_timeout; i++) {
+ for (int i = 0; deck_status == CEC_OP_DECK_INFO_SKIP_FWD && i < long_timeout; i++) {
sleep(1);
fail_on_test(deck_status_get(node, me, la, deck_status));
}
@@ -751,7 +751,7 @@ static int deck_ctl_deck_ctl(struct node *node, unsigned me, unsigned la, bool i
fail_on_test(cec_msg_status_is_abort(&msg)); /* Assumes deck has media. */
fail_on_test(deck_status_get(node, me, la, deck_status));
/* Wait for Deck to finish Skip Reverse. */
- for (unsigned i = 0; deck_status == CEC_OP_DECK_INFO_SKIP_REV && i < long_timeout; i++) {
+ for (int i = 0; deck_status == CEC_OP_DECK_INFO_SKIP_REV && i < long_timeout; i++) {
sleep(1);
fail_on_test(deck_status_get(node, me, la, deck_status));
}
diff --git a/utils/cec-follower/cec-follower.h b/utils/cec-follower/cec-follower.h
index 68ef222a..3fa95417 100644
--- a/utils/cec-follower/cec-follower.h
+++ b/utils/cec-follower/cec-follower.h
@@ -53,7 +53,7 @@ struct state {
__u8 deck_report_changes_to;
__u8 deck_state;
__u64 deck_skip_start;
- unsigned toggle_power_status;
+ time_t toggle_power_status;
__u64 last_aud_rate_rx_ts;
};

Privacy Policy