mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-03 10:51:12 +02:00
sectionsd: fix signed/unsigned comparison warning
This commit is contained in:
@@ -1486,7 +1486,8 @@ void CTimeThread::run()
|
|||||||
/* speed up shutdown by looping around Read() */
|
/* speed up shutdown by looping around Read() */
|
||||||
do {
|
do {
|
||||||
rc = dmx->Read(static_buf, MAX_SECTION_LENGTH, timeoutInMSeconds / 12);
|
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
|
#endif
|
||||||
xprintf("%s: getting DVB time done : %d messaging_neutrino_sets_time %d\n", name.c_str(), rc, messaging_neutrino_sets_time);
|
xprintf("%s: getting DVB time done : %d messaging_neutrino_sets_time %d\n", name.c_str(), rc, messaging_neutrino_sets_time);
|
||||||
if (rc > 0) {
|
if (rc > 0) {
|
||||||
|
Reference in New Issue
Block a user