From bbe36e39a2b65fb4eddb78696606022a7fa672c8 Mon Sep 17 00:00:00 2001 From: Frank Neumann Date: Mon, 1 May 2017 19:52:53 +0200 Subject: Add another fix for VDR 2.3.4+, eventid is nowadays 32bit (thx rofafor@vdr-portal.de) --- pending_notifications.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pending_notifications.c b/pending_notifications.c index 8fe3334..8d3046d 100644 --- a/pending_notifications.c +++ b/pending_notifications.c @@ -62,7 +62,7 @@ bool cPendingNotification::Read(FILE *f) tEventID EventID; int Type, TimerMod, SearchID; time_t Start; - int n = sscanf(t, "%d %hu %d %d %ld", &Type, &EventID, &TimerMod, &SearchID, &Start); + int n = sscanf(t, "%d %u %d %d %ld", &Type, &EventID, &TimerMod, &SearchID, &Start); if (n == 5) { p = new cPendingNotification; if (p) -- cgit v1.2.3