summaryrefslogtreecommitdiff
path: root/dvbapi.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2002-01-27 13:11:23 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2002-01-27 13:11:23 +0100
commit28e54bc648502820202ea44f6a990c9502f901f7 (patch)
tree436b3e56eb28e8c13002e97c511c11234c55f0b4 /dvbapi.c
parent53c5499a0b93cd1cb47394381c4262f01b6c0c00 (diff)
downloadvdr-28e54bc648502820202ea44f6a990c9502f901f7.tar.gz
vdr-28e54bc648502820202ea44f6a990c9502f901f7.tar.bz2
The 'Main' menu now displays the used disk space in the title
Diffstat (limited to 'dvbapi.c')
-rw-r--r--dvbapi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dvbapi.c b/dvbapi.c
index d04f97e3..048639c6 100644
--- a/dvbapi.c
+++ b/dvbapi.c
@@ -7,7 +7,7 @@
* DVD support initially written by Andreas Schultz <aschultz@warp10.net>
* based on dvdplayer-0.5 by Matjaz Thaler <matjaz.thaler@guest.arnes.si>
*
- * $Id: dvbapi.c 1.145 2002/01/26 15:28:41 kls Exp $
+ * $Id: dvbapi.c 1.146 2002/01/26 15:39:48 kls Exp $
*/
//#define DVDDEBUG 1
@@ -507,7 +507,7 @@ cRecordBuffer::~cRecordBuffer()
bool cRecordBuffer::RunningLowOnDiskSpace(void)
{
if (time(NULL) > lastDiskSpaceCheck + DISKCHECKINTERVAL) {
- uint Free = FreeDiskSpaceMB(fileName.Name());
+ int Free = FreeDiskSpaceMB(fileName.Name());
lastDiskSpaceCheck = time(NULL);
if (Free < MINFREEDISKSPACE) {
dsyslog(LOG_INFO, "low disk space (%d MB, limit is %d MB)", Free, MINFREEDISKSPACE);