mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Fixed some compiler warnings with gcc-4.6.3
This commit is contained in:
parent
97eb54738f
commit
4ea90cefe8
@ -1173,6 +1173,7 @@ Rolf Ahrenberg <Rolf.Ahrenberg@sci.fi>
|
|||||||
and add support for DVB-S2 "Input Stream Identifier" (ISI)
|
and add support for DVB-S2 "Input Stream Identifier" (ISI)
|
||||||
for helping to debug and understand subtitle page refreshes
|
for helping to debug and understand subtitle page refreshes
|
||||||
for a patch that was used to implement the SVDRP command RENR
|
for a patch that was used to implement the SVDRP command RENR
|
||||||
|
for fixing some compiler warnings with gcc-4.6.3
|
||||||
|
|
||||||
Ralf Klueber <ralf.klueber@vodafone.com>
|
Ralf Klueber <ralf.klueber@vodafone.com>
|
||||||
for reporting a bug in cutting a recording if there is only a single editing mark
|
for reporting a bug in cutting a recording if there is only a single editing mark
|
||||||
|
1
HISTORY
1
HISTORY
@ -8015,3 +8015,4 @@ Video Disk Recorder Revision History
|
|||||||
- Changed the return value of cPositioner::HorizonLongitude() to 0 in case the
|
- Changed the return value of cPositioner::HorizonLongitude() to 0 in case the
|
||||||
latitude of the antenna location is beyond +/-81 degrees.
|
latitude of the antenna location is beyond +/-81 degrees.
|
||||||
- Updated the Finnish OSD texts (thanks to Rolf Ahrenberg).
|
- Updated the Finnish OSD texts (thanks to Rolf Ahrenberg).
|
||||||
|
- Fixed some compiler warnings with gcc-4.6.3 (thanks to Rolf Ahrenberg).
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
* See the main source file 'vdr.c' for copyright information and
|
* See the main source file 'vdr.c' for copyright information and
|
||||||
* how to reach the author.
|
* how to reach the author.
|
||||||
*
|
*
|
||||||
* $Id: recording.c 3.7 2013/10/16 10:24:28 kls Exp $
|
* $Id: recording.c 3.8 2013/10/20 09:51:23 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "recording.h"
|
#include "recording.h"
|
||||||
@ -1693,7 +1693,7 @@ void cDirCopier::Action(void)
|
|||||||
off_t FileSizeSrc = FileSize(FileNameSrc);
|
off_t FileSizeSrc = FileSize(FileNameSrc);
|
||||||
off_t FileSizeDst = FileSize(FileNameDst);
|
off_t FileSizeDst = FileSize(FileNameDst);
|
||||||
if (FileSizeSrc != FileSizeDst) {
|
if (FileSizeSrc != FileSizeDst) {
|
||||||
esyslog("ERROR: file size discrepancy: %lld != %lld", FileSizeSrc, FileSizeDst);
|
esyslog("ERROR: file size discrepancy: %"PRId64" != %"PRId64, FileSizeSrc, FileSizeDst);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
6
svdrp.c
6
svdrp.c
@ -10,7 +10,7 @@
|
|||||||
* and interact with the Video Disk Recorder - or write a full featured
|
* and interact with the Video Disk Recorder - or write a full featured
|
||||||
* graphical interface that sits on top of an SVDRP connection.
|
* graphical interface that sits on top of an SVDRP connection.
|
||||||
*
|
*
|
||||||
* $Id: svdrp.c 3.3 2013/10/14 09:49:38 kls Exp $
|
* $Id: svdrp.c 3.4 2013/10/20 09:53:13 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "svdrp.h"
|
#include "svdrp.h"
|
||||||
@ -686,7 +686,7 @@ void cSVDRP::CmdDELR(const char *Option)
|
|||||||
cRecording *recording = recordings.Get(strtol(Option, NULL, 10) - 1);
|
cRecording *recording = recordings.Get(strtol(Option, NULL, 10) - 1);
|
||||||
if (recording) {
|
if (recording) {
|
||||||
if (int RecordingInUse = recording->IsInUse())
|
if (int RecordingInUse = recording->IsInUse())
|
||||||
Reply(550, RecordingInUseMessage(RecordingInUse, Option, recording));
|
Reply(550, "%s", *RecordingInUseMessage(RecordingInUse, Option, recording));
|
||||||
else {
|
else {
|
||||||
if (recording->Delete()) {
|
if (recording->Delete()) {
|
||||||
Reply(250, "Recording \"%s\" deleted", Option);
|
Reply(250, "Recording \"%s\" deleted", Option);
|
||||||
@ -1564,7 +1564,7 @@ void cSVDRP::CmdRENR(const char *Option)
|
|||||||
cRecording *recording = recordings.Get(strtol(num, NULL, 10) - 1);
|
cRecording *recording = recordings.Get(strtol(num, NULL, 10) - 1);
|
||||||
if (recording) {
|
if (recording) {
|
||||||
if (int RecordingInUse = recording->IsInUse())
|
if (int RecordingInUse = recording->IsInUse())
|
||||||
Reply(550, RecordingInUseMessage(RecordingInUse, Option, recording));
|
Reply(550, "%s", *RecordingInUseMessage(RecordingInUse, Option, recording));
|
||||||
else {
|
else {
|
||||||
if (c)
|
if (c)
|
||||||
option = skipspace(++option);
|
option = skipspace(++option);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user