From 8bf512690ae3c1d367b79dc79674115be1e29571 Mon Sep 17 00:00:00 2001
From: Klaus Schmidinger <vdr@tvdr.de>
Date: Fri, 22 Feb 2008 15:36:42 +0100
Subject: Fixed the format in cRemote::Put() to use "%016llX" instead of
 "%016LX"

---
 CONTRIBUTORS | 1 +
 HISTORY      | 4 +++-
 remote.c     | 4 ++--
 3 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/CONTRIBUTORS b/CONTRIBUTORS
index 96fd1ce7..ca691992 100644
--- a/CONTRIBUTORS
+++ b/CONTRIBUTORS
@@ -899,6 +899,7 @@ Ludwig Nussel <ludwig.nussel@web.de>
  for pointing out that the canonical spelling of codesets is with '-'
  for a hint on using _nl_msg_cat_cntr
  for adding some missing 'const' keywords
+ for pointing out that "%016llX" should be used instead of "%016LX"
 
 Thomas Koch <tom@harhar.net>
  for his support in keeping the Premiere World channels up to date in 'channels.conf'
diff --git a/HISTORY b/HISTORY
index d8fdf906..e8f2c4dc 100644
--- a/HISTORY
+++ b/HISTORY
@@ -5644,7 +5644,7 @@ Video Disk Recorder Revision History
   should be used.
 - Fixed calculating the scrollbar sizes in the skins.
 
-2008-02-18: Version 1.5.16
+2008-02-21: Version 1.5.16
 
 - Fixed setting the current subtitle track in Transfer-Mode (reported by Petri Helin,
   thanks to Reinhard Nissl for pointing out that cDevice::Transferring() doesn't
@@ -5653,3 +5653,5 @@ Video Disk Recorder Revision History
 - Updated the Dutch OSD texts (thanks to Carel Willemse).
 - Fixed various spelling errors and improved PLUGINS.html (thanks to Ville Skytt�).
 - Updated the Italian OSD texts (thanks to Diego Pierotto).
+- Fixed the format in cRemote::Put() to use "%016llX" instead of "%016LX" (thanks
+  to Ludwig Nussel for pointing this out).
diff --git a/remote.c b/remote.c
index c7eb7fb9..c20647d3 100644
--- a/remote.c
+++ b/remote.c
@@ -4,7 +4,7 @@
  * See the main source file 'vdr.c' for copyright information and
  * how to reach the author.
  *
- * $Id: remote.c 1.57 2007/04/30 12:27:56 kls Exp $
+ * $Id: remote.c 1.58 2008/02/22 15:34:08 kls Exp $
  */
 
 #include "remote.h"
@@ -121,7 +121,7 @@ bool cRemote::PutMacro(eKeys Key)
 bool cRemote::Put(uint64_t Code, bool Repeat, bool Release)
 {
   char buffer[32];
-  snprintf(buffer, sizeof(buffer), "%016LX", Code);
+  snprintf(buffer, sizeof(buffer), "%016llX", Code);
   return Put(buffer, Repeat, Release);
 }
 
-- 
cgit v1.2.3