1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

Fixed a format string in recording.c to avoid a compiler warning on 64bit systems

This commit is contained in:
Klaus Schmidinger 2006-04-23 11:23:17 +02:00
parent d7c8025fba
commit 33397874da
3 changed files with 10 additions and 2 deletions

View File

@ -1737,6 +1737,7 @@ Christian Wieninger <cwieninger@gmx.de>
for suggesting to add cMenuEditStrItem::InEditMode()
for his idea of going directly into the "Edit timer" menu for a timer created
from the "Schedule" menu in case it starts withing the next two minutes
for reporting a problem with a format string in recording.c on 64bit systems
Thiemo Gehrke <tgehrke@reel-multimedia.com>
for suggesting to add a setup option to turn off the automatic timeout of the
@ -1857,3 +1858,7 @@ Peter Juszack <vdr@unterbrecher.de>
Pierre Briec <pbriec@free.fr>
for translating OSD texts to the French language
Werner Schweer <ws@seh.de>
for pointing out that the 'z' printf modifier should be used for 'size_t' type
arguments

View File

@ -4643,3 +4643,6 @@ Video Disk Recorder Revision History
- Fixed some missing '-' in the German OSD texts (thanks to Walter Koch).
- Added an error message about plugins that don't honor APIVERSION in their Makefile
(based on a suggestion by Udo Richter).
- Fixed a format string in recording.c to avoid a compiler warning on 64bit systems
(thanks to Christian Wieninger for reporting, and Werner Schweer for pointing out
that the 'z' modifier should be used here).

View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
* $Id: recording.c 1.146 2006/04/17 11:00:00 kls Exp $
* $Id: recording.c 1.147 2006/04/23 10:43:06 kls Exp $
*/
#include "recording.h"
@ -1197,7 +1197,7 @@ cIndexFile::cIndexFile(const char *FileName, bool Record)
LOG_ERROR_STR(fileName);
}
else
esyslog("ERROR: can't allocate %d bytes for index '%s'", size * sizeof(tIndex), fileName);
esyslog("ERROR: can't allocate %zd bytes for index '%s'", size * sizeof(tIndex), fileName);
}
}
else