Fixed the format in cRemote::Put() to use "%016llX" instead of "%016LX"

This commit is contained in:
Klaus Schmidinger 2008-02-22 15:36:42 +01:00
parent 0e7aa50a38
commit 8bf512690a
3 changed files with 6 additions and 3 deletions

View File

@ -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'

View File

@ -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).

View File

@ -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);
}