summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2002-01-13 16:21:48 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2002-01-13 16:21:48 +0100
commitbf45cfc3b9e7985317f4727933cb513e114ab3d4 (patch)
tree07e4e008f5c093676abd024d2cff2161d8f731c5
parent21f13f0ef178bf48e4b609e75e42e74f8e940fe8 (diff)
downloadvdr-bf45cfc3b9e7985317f4727933cb513e114ab3d4.tar.gz
vdr-bf45cfc3b9e7985317f4727933cb513e114ab3d4.tar.bz2
Fixed format string to avoid a compiler warning
-rw-r--r--dvbapi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dvbapi.c b/dvbapi.c
index 6eddeff5..c8642e4a 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.142 2002/01/13 15:48:37 kls Exp $
+ * $Id: dvbapi.c 1.143 2002/01/13 16:21:48 kls Exp $
*/
//#define DVDDEBUG 1
@@ -146,7 +146,7 @@ cIndexFile::cIndexFile(const char *FileName, bool Record)
delta = buf.st_size % sizeof(tIndex);
if (delta) {
delta = sizeof(tIndex) - delta;
- esyslog(LOG_ERR, "ERROR: invalid file size (%d) in '%s'", buf.st_size, fileName);
+ esyslog(LOG_ERR, "ERROR: invalid file size (%ld) in '%s'", buf.st_size, fileName);
}
last = (buf.st_size + delta) / sizeof(tIndex) - 1;
if (!Record && last >= 0) {