summaryrefslogtreecommitdiff
path: root/recording.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2015-01-20 14:56:18 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2015-01-20 14:56:18 +0100
commit24c9e457890fc3d733dbd28029967b1bc0d2569e (patch)
treeee163a7f5edffaba88b263b8fbcff9e76a878ca0 /recording.c
parent53db7fdc508720950d3f76958e99bd42de87c97b (diff)
downloadvdr-24c9e457890fc3d733dbd28029967b1bc0d2569e.tar.gz
vdr-24c9e457890fc3d733dbd28029967b1bc0d2569e.tar.bz2
Fixed "warning: invalid suffix on literal" with GCC 4.8 and C++11
Diffstat (limited to 'recording.c')
-rw-r--r--recording.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/recording.c b/recording.c
index e9a6b169..30335e78 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 3.21 2015/01/17 14:52:28 kls Exp $
+ * $Id: recording.c 3.22 2015/01/20 14:53:57 kls Exp $
*/
#include "recording.h"
@@ -1749,7 +1749,7 @@ void cDirCopier::Action(void)
off_t FileSizeSrc = FileSize(FileNameSrc);
off_t FileSizeDst = FileSize(FileNameDst);
if (FileSizeSrc != FileSizeDst) {
- esyslog("ERROR: file size discrepancy: %"PRId64" != %"PRId64, FileSizeSrc, FileSizeDst);
+ esyslog("ERROR: file size discrepancy: %" PRId64 " != %" PRId64, FileSizeSrc, FileSizeDst);
break;
}
}
@@ -2476,7 +2476,7 @@ cIndexFile::cIndexFile(const char *FileName, bool Record, bool IsPesRecording, b
delta = int(buf.st_size % sizeof(tIndexTs));
if (delta) {
delta = sizeof(tIndexTs) - delta;
- esyslog("ERROR: invalid file size (%"PRId64") in '%s'", buf.st_size, *fileName);
+ esyslog("ERROR: invalid file size (%" PRId64 ") in '%s'", buf.st_size, *fileName);
}
last = int((buf.st_size + delta) / sizeof(tIndexTs) - 1);
if ((!Record || Update) && last >= 0) {