From 374311f7650d03d2f59cb81a321b7d721e7ce5eb Mon Sep 17 00:00:00 2001 From: Frank Neumann Date: Mon, 1 May 2017 13:36:12 +0200 Subject: Commit 0001-Fix-warning-in-pending_notifications.c.diff (thx jasminj@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 8d3046d..8fe3334 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 %u %d %d %ld", &Type, &EventID, &TimerMod, &SearchID, &Start); + int n = sscanf(t, "%d %hu %d %d %ld", &Type, &EventID, &TimerMod, &SearchID, &Start); if (n == 5) { p = new cPendingNotification; if (p) -- cgit v1.2.3