summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitar Petrovski <dimeptr@gmail.com>2018-08-11 14:30:48 +0200
committerDimitar Petrovski <dimeptr@gmail.com>2018-08-11 14:30:48 +0200
commitca0c9dda448ffe0cd71e85cbc5b1f9c10203e1ad (patch)
tree4f3393897cea4afd912ee1e9d3cab4d5644aff28
parent7e30f7b7c80d41883ec9b0187dc9c47b6765a4d1 (diff)
downloadvdr-plugin-eepg-ca0c9dda448ffe0cd71e85cbc5b1f9c10203e1ad.tar.gz
vdr-plugin-eepg-ca0c9dda448ffe0cd71e85cbc5b1f9c10203e1ad.tar.bz2
silence warnings
-rw-r--r--eepg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/eepg.c b/eepg.c
index b829d10..b319a46 100644
--- a/eepg.c
+++ b/eepg.c
@@ -2645,7 +2645,7 @@ void cFilterEEPG::LoadIntoSchedule (void)
}
index++;
- if ((StartTime + T->Duration) < too_old) {
+ if ((StartTime + (int)T->Duration) < too_old) {
LogD(3, prep("Skipping old event '%s', start time:%s"), T->Text, ctime (&StartTime));
OldEvents++;
continue;
@@ -2699,7 +2699,7 @@ void cFilterEEPG::LoadIntoSchedule (void)
// esyslog("EEPG Error: lost sync at title %d, summary %d.",i,j);
} else if (j == (remembersummary - 1) || SummIndex !=-1) { //the last summary to be checked has failed also
//esyslog ("EEPG Error: could not find summary for summary-available Title %d.", i);
- if ((T->StartTime + T->Duration) < too_old) {
+ if ((T->StartTime + T->Duration) < (uint)too_old) {
LogD(3, prep("Skipping old event '%s' without summary, start time:%s"), T->Text, ctime ((time_t*)&T->StartTime));
OldEvents++;
} else {