From d8f8154bb9967da609354b27e25ae6f47ba6dd27 Mon Sep 17 00:00:00 2001 From: mrwastl Date: Fri, 18 Jun 2010 22:52:36 +0200 Subject: new class for external services (service informations from other plugins: defined for now: radiotext, lcr, femon); radiotext/lcr-hack no longer necessary because of ext. services; new tokens for ext. services; bug fixes (casting, uint64_t, update detection); patches for femon <= 1.7.7 --- common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'common.c') diff --git a/common.c b/common.c index fff0013..e6c2113 100644 --- a/common.c +++ b/common.c @@ -70,8 +70,8 @@ GLCD::cType DurationType(int Index, const std::string &Format) enum { normal, format } state = normal; int n = 0; #if VDRVERSNUM >= 10701 - int f = (Index % DEFAULTFRAMESPERSECOND) + 1; - int s = (Index / DEFAULTFRAMESPERSECOND); + int f = (Index % (int)DEFAULTFRAMESPERSECOND) + 1; + int s = (Index / (int)DEFAULTFRAMESPERSECOND); #else int f = (Index % FRAMESPERSEC) + 1; int s = (Index / FRAMESPERSEC); -- cgit v1.2.3