diff options
author | mrwastl <mrwastl@users.sourceforge.net> | 2010-06-18 22:52:36 +0200 |
---|---|---|
committer | mrwastl <mrwastl@users.sourceforge.net> | 2010-06-18 22:52:36 +0200 |
commit | d8f8154bb9967da609354b27e25ae6f47ba6dd27 (patch) | |
tree | 2d34e0601ca87a024d6e13a295c8883ee73ec9fb /common.c | |
parent | 4f8e89fbe330a263130ca066a1671297f939e42d (diff) | |
download | vdr-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |