From d83f6ea51fc05cd97834834a044669abc696c935 Mon Sep 17 00:00:00 2001 From: Stefan Seyfried Date: Sat, 9 Jan 2016 20:53:56 +0100 Subject: [PATCH] sectionsd: fix signed/unsigned comparison warning Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/f98501b5b11c0eaf31ee0e6d835dae5ea7d93247 Author: Stefan Seyfried Date: 2016-01-09 (Sat, 09 Jan 2016) --- src/eitd/sectionsd.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/eitd/sectionsd.cpp b/src/eitd/sectionsd.cpp index 69689c3d3..b95148545 100644 --- a/src/eitd/sectionsd.cpp +++ b/src/eitd/sectionsd.cpp @@ -1486,7 +1486,8 @@ void CTimeThread::run() /* speed up shutdown by looping around Read() */ do { rc = dmx->Read(static_buf, MAX_SECTION_LENGTH, timeoutInMSeconds / 12); - } while (running && rc == 0 && (time_monotonic_ms() - start) < timeoutInMSeconds); + } while (running && rc == 0 + && (time_monotonic_ms() - start) < (time_t)timeoutInMSeconds); #endif xprintf("%s: getting DVB time done : %d messaging_neutrino_sets_time %d\n", name.c_str(), rc, messaging_neutrino_sets_time); if (rc > 0) {