summaryrefslogtreecommitdiff
path: root/recording.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2012-02-26 14:02:17 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2012-02-26 14:02:17 +0100
commitcd0f403bbc9005bfb2f9c290a6b6ab0e05d9dfb6 (patch)
tree8a76fb34cd8d9a25f1f3ebfe9df0e0018bad2ac1 /recording.c
parentaaca30f2ac1c9e7a78f05bd2c81d10a5514cba97 (diff)
downloadvdr-cd0f403bbc9005bfb2f9c290a6b6ab0e05d9dfb6.tar.gz
vdr-cd0f403bbc9005bfb2f9c290a6b6ab0e05d9dfb6.tar.bz2
Added some typecasts to silence gcc compiler warnings
Diffstat (limited to 'recording.c')
-rw-r--r--recording.c4
1 files changed, 2 insertions, 2 deletions
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;