summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlado <herrlado@gmail.com>2011-11-11 15:18:02 +0100
committerlado <herrlado@gmail.com>2011-11-11 15:18:02 +0100
commit646f645155e323f396dd53cc6d1c306deb37cdec (patch)
treedb5282c5f16b79b3dc38306285fe15449c358100
parentafb0d34f9528adf9ae8f22a5aa19ff722deb213c (diff)
downloadvdr-manager-646f645155e323f396dd53cc6d1c306deb37cdec.tar.gz
vdr-manager-646f645155e323f396dd53cc6d1c306deb37cdec.tar.bz2
use proper palceholder for integer
-rw-r--r--vdr-vdrmanager/helpers.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/vdr-vdrmanager/helpers.cpp b/vdr-vdrmanager/helpers.cpp
index 86ef3e2..f806c5f 100644
--- a/vdr-vdrmanager/helpers.cpp
+++ b/vdr-vdrmanager/helpers.cpp
@@ -498,7 +498,7 @@ string cHelpers::ToText(cRecording * recording) {
result += info->ChannelID().ToString();
result += ":";
- sprintf(buf, "%lu", RecordingLengthInSeconds(recording));
+ sprintf(buf, "%d", RecordingLengthInSeconds(recording));
result += buf;
result += "\r\n";