From cd0f403bbc9005bfb2f9c290a6b6ab0e05d9dfb6 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 26 Feb 2012 14:02:17 +0100 Subject: Added some typecasts to silence gcc compiler warnings --- recording.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'recording.c') diff --git a/recording.c b/recording.c index 7617d734..47a9881a 100644 --- a/recording.c +++ b/recording.c @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: recording.c 2.50 2012/02/19 10:44:45 kls Exp $ + * $Id: recording.c 2.51 2012/02/26 13:58:26 kls Exp $ */ #include "recording.h" @@ -1571,7 +1571,7 @@ cIndexFile::cIndexFile(const char *FileName, bool Record, bool IsPesRecording, b if (!Record && PauseLive) { // Wait until the index file contains at least two frames: time_t tmax = time(NULL) + MAXWAITFORINDEXFILE; - while (time(NULL) < tmax && FileSize(fileName) < 2 * sizeof(tIndexTs)) + while (time(NULL) < tmax && FileSize(fileName) < off_t(2 * sizeof(tIndexTs))) cCondWait::SleepMs(INDEXFILETESTINTERVAL); } int delta = 0; -- cgit v1.2.3