From bf45cfc3b9e7985317f4727933cb513e114ab3d4 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 13 Jan 2002 16:21:48 +0100 Subject: [PATCH] Fixed format string to avoid a compiler warning --- dvbapi.c | 4 ++-- 1 file 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 * based on dvdplayer-0.5 by Matjaz Thaler * - * $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) {