diff --git a/utils/cec-follower/cec-follower.cpp b/utils/cec-follower/cec-follower.cpp index a7481aeafb71ae4fb1e2dddd6f1cddb6aa69e65e..2ae244ce271d5d93f1f89b279139b87de0f1edd4 100644 --- a/utils/cec-follower/cec-follower.cpp +++ b/utils/cec-follower/cec-follower.cpp @@ -354,7 +354,7 @@ void print_timers(struct node *node) printf("source: %s, ", source.c_str()); if (t.recording_seq) printf("rec-seq: 0x%x, ", t.recording_seq); - printf("needs: %ld %s\n", t.duration, "MB."); /* 1MB per second. */ + printf("needs: %d %s\n", t.duration, "MB."); /* 1MB per second. */ } printf("Total media space available for recording: "); if (node->state.media_space_available >= 0) diff --git a/utils/cec-follower/cec-follower.h b/utils/cec-follower/cec-follower.h index 8328d9a7493746b374b41a050df780760dff38ed..b5a18fc8065371ca8b8f64731c5037e347940019 100644 --- a/utils/cec-follower/cec-follower.h +++ b/utils/cec-follower/cec-follower.h @@ -88,7 +88,7 @@ struct node { struct Timer { time_t start_time; - time_t duration; /* In seconds. */ + int duration; /* In seconds. */ __u8 recording_seq; struct cec_op_record_src src;