diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2012-06-10 13:46:41 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2012-06-10 13:46:41 +0200 |
commit | 6dec09a376802cffaf719ec1d87e31cf02afc22d (patch) | |
tree | b476071239df95e9f8b676af5cc45b417f9ce8f9 /videodir.c | |
parent | e595e3b1d4bf5a9a6878bf18fb3a6fd05c223bdd (diff) | |
download | vdr-6dec09a376802cffaf719ec1d87e31cf02afc22d.tar.gz vdr-6dec09a376802cffaf719ec1d87e31cf02afc22d.tar.bz2 |
Fixed the type of MBperMinute in cVideoDiskUsage::HasChanged()
Diffstat (limited to 'videodir.c')
-rw-r--r-- | videodir.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: videodir.c 2.1 2012/04/22 15:03:10 kls Exp $ + * $Id: videodir.c 2.2 2012/06/10 13:45:21 kls Exp $ */ #include "videodir.h" @@ -261,7 +261,7 @@ bool cVideoDiskUsage::HasChanged(int &State) if (FreeMB != freeMB) { usedPercent = UsedPercent; freeMB = FreeMB; - int MBperMinute = Recordings.MBperMinute(); + double MBperMinute = Recordings.MBperMinute(); if (MBperMinute <= 0) MBperMinute = MB_PER_MINUTE; freeMinutes = int(double(FreeMB) / MBperMinute); |