diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2002-01-13 16:21:48 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2002-01-13 16:21:48 +0100 |
commit | bf45cfc3b9e7985317f4727933cb513e114ab3d4 (patch) | |
tree | 07e4e008f5c093676abd024d2cff2161d8f731c5 /dvbapi.c | |
parent | 21f13f0ef178bf48e4b609e75e42e74f8e940fe8 (diff) | |
download | vdr-bf45cfc3b9e7985317f4727933cb513e114ab3d4.tar.gz vdr-bf45cfc3b9e7985317f4727933cb513e114ab3d4.tar.bz2 |
Fixed format string to avoid a compiler warning
Diffstat (limited to 'dvbapi.c')
-rw-r--r-- | dvbapi.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) { |