summaryrefslogtreecommitdiff
path: root/menu_whatson.c
diff options
context:
space:
mode:
authorChristian Wieninger <cwieninger@gmx.de>2010-11-24 19:19:24 +0100
committerChristian Wieninger <cwieninger@gmx.de>2010-11-24 19:19:24 +0100
commit8308cc7ce870bb1355dc3b4b603a2d817d5b0187 (patch)
treefccb4d4a48300990c3d106950cc8a4f376e6fc27 /menu_whatson.c
parentba87be9b2650796a507249c098eca815bff9b5e5 (diff)
downloadvdr-plugin-epgsearch-8308cc7ce870bb1355dc3b4b603a2d817d5b0187.tar.gz
vdr-plugin-epgsearch-8308cc7ce870bb1355dc3b4b603a2d817d5b0187.tar.bz2
patches for FreeBSD
Diffstat (limited to 'menu_whatson.c')
-rw-r--r--menu_whatson.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/menu_whatson.c b/menu_whatson.c
index 1579515..826e564 100644
--- a/menu_whatson.c
+++ b/menu_whatson.c
@@ -106,7 +106,7 @@ bool cMenuMyScheduleItem::Update(bool Force)
frac = ((now - startTime) * 8 + (dur >> 1)) / dur;
}
if (mode == showNext)
- frac = ( ( 30*60 - min((long int)30*60, startTime - now) ) * 8 + 15*60 ) / (30*60);
+ frac = ( ( 30*60 - min((time_t)30*60, startTime - now) ) * 8 + 15*60 ) / (30*60);
frac = min(8,max(0, frac));