summaryrefslogtreecommitdiff
path: root/common.c
diff options
context:
space:
mode:
authormrwastl <mrwastl@users.sourceforge.net>2010-06-18 22:52:36 +0200
committermrwastl <mrwastl@users.sourceforge.net>2010-06-18 22:52:36 +0200
commitd8f8154bb9967da609354b27e25ae6f47ba6dd27 (patch)
tree2d34e0601ca87a024d6e13a295c8883ee73ec9fb /common.c
parent4f8e89fbe330a263130ca066a1671297f939e42d (diff)
downloadvdr-plugin-graphlcd-d8f8154bb9967da609354b27e25ae6f47ba6dd27.tar.gz
vdr-plugin-graphlcd-d8f8154bb9967da609354b27e25ae6f47ba6dd27.tar.bz2
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
Diffstat (limited to 'common.c')
-rw-r--r--common.c4
1 files changed, 2 insertions, 2 deletions
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);