mirror of
https://github.com/rofafor/vdr-plugin-satip.git
synced 2023-10-10 13:37:42 +02:00
Changed int to uint64_t.
This commit is contained in:
parent
561ca26098
commit
e6e185cbd7
6
poller.c
6
poller.c
@ -69,7 +69,7 @@ void cSatipPoller::Action(void)
|
||||
{
|
||||
debug("cSatipPoller::%s(): entering", __FUNCTION__);
|
||||
struct epoll_event events[eMaxFileDescriptors];
|
||||
int maxElapsed = 0;
|
||||
uint64_t maxElapsed = 0;
|
||||
// Increase priority
|
||||
SetPriority(-1);
|
||||
// Do the thread loop
|
||||
@ -79,13 +79,13 @@ void cSatipPoller::Action(void)
|
||||
for (int i = 0; i < nfds; ++i) {
|
||||
cSatipPollerIf* poll = reinterpret_cast<cSatipPollerIf *>(events[i].data.ptr);
|
||||
if (poll) {
|
||||
int elapsed;
|
||||
uint64_t elapsed;
|
||||
cTimeMs processing(0);
|
||||
poll->Process();
|
||||
elapsed = processing.Elapsed();
|
||||
if (elapsed > maxElapsed) {
|
||||
maxElapsed = elapsed;
|
||||
debug("cSatipPoller::%s(): Processing %s took %d ms", __FUNCTION__, *(poll->ToString()), maxElapsed);
|
||||
debug("cSatipPoller::%s(): Processing %s took %" PRIu64 " ms", __FUNCTION__, *(poll->ToString()), maxElapsed);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user