From 287cd613a1d5d08fb56e107460473132d23e3ca0 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 3 Dec 2006 18:00:00 +0100 Subject: =?UTF-8?q?Version=201.4.4-1=20-=20Some=20improvements=20to=20the?= =?UTF-8?q?=20man=20pages=20(thanks=20to=20Ville=20Skytt=C3=A4).=20-=20Fix?= =?UTF-8?q?ed=20a=20possible=20segfault=20in=20cSkins::Message()=20(thanks?= =?UTF-8?q?=20to=20Udo=20Richter).=20-=20Made=20the=20getskyepg.pl=20scrip?= =?UTF-8?q?t=20of=20the=20'sky'=20plugin=20send=20a=20user=20agent=20messa?= =?UTF-8?q?ge=20to=20=20=20the=20server,=20according=20to=20the=20rules=20?= =?UTF-8?q?at=20http://bleb.org/tv/data/listings.=20=20=20If=20your=20vers?= =?UTF-8?q?ion=20of=20'wget'=20doesn't=20support=20the=20-U=20option=20to?= =?UTF-8?q?=20set=20the=20user=20agent,=20=20=20use=20the=20new=20option?= =?UTF-8?q?=20-U=20of=20getskyepg.pl=20to=20have=20the=20information=20add?= =?UTF-8?q?ed=20to=20the=20URL=20=20=20as=20a=20query=20string.=20-=20The?= =?UTF-8?q?=20getskyepg.pl=20script=20now=20replaces=20"&"=20with=20"&?= =?UTF-8?q?".=20-=20Fixed=20a=20possible=20crash=20in=20remux.c=20on=2064-?= =?UTF-8?q?bit=20machines=20(thanks=20to=20Reinhard=20Nissl).=20-=20Fixed?= =?UTF-8?q?=20a=20typo=20in=20the=20change=20to=20the=20"Use=20small=20fon?= =?UTF-8?q?t"=20setup=20option=20in=20version=201.3.47=20=20=20in=20the=20?= =?UTF-8?q?HISTORY=20and=20CONTRIBUTORS=20file=20(reported=20by=20Andreas?= =?UTF-8?q?=20Brugger).=20-=20Added=20a=20missing=20'const'=20to=20cRecord?= =?UTF-8?q?ingInfo::ChannelID()=20(reported=20by=20Andreas=20=20=20Brugger?= =?UTF-8?q?).=20This=20required=20the=20APIVERSION=20to=20be=20increased,?= =?UTF-8?q?=20so=20plugins=20will=20have=20to=20=20=20be=20recompiled.=20-?= =?UTF-8?q?=20Now=20calling=20cPluginManager::Active()=20only=20if=20VDR?= =?UTF-8?q?=20is=20really=20trying=20to=20shut=20down,=20=20=20and=20waiti?= =?UTF-8?q?ng=20for=205=20minutes=20before=20calling=20it=20again=20(thank?= =?UTF-8?q?s=20to=20J=C3=B6rg=20Wendel=20for=20=20=20reporting=20that=20cP?= =?UTF-8?q?lugin::Active()=20was=20called=20too=20often,=20and=20to=20Udo?= =?UTF-8?q?=20Richter=20for=20=20=20some=20hints=20on=20how=20to=20improve?= =?UTF-8?q?=20this).=20-=20Replaced=20'unsigned=20long'=20with=20'uint32?= =?UTF-8?q?=5Ft'=20and=20'uint64'=20with=20'uint64=5Ft'=20to=20=20=20avoid?= =?UTF-8?q?=20problems=20on=2064-bit=20machines.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- rcu.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'rcu.c') diff --git a/rcu.c b/rcu.c index 39211bb..d81c0b6 100644 --- a/rcu.c +++ b/rcu.c @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: rcu.c 1.14 2006/06/16 09:29:24 kls Exp $ + * $Id: rcu.c 1.15 2006/12/02 11:12:28 kls Exp $ */ #include "rcu.h" @@ -97,7 +97,7 @@ void cRcuRemote::Action(void) time_t LastCodeRefresh = 0; cTimeMs FirstTime; unsigned char LastCode = 0, LastMode = 0; - uint64 LastCommand = ~0; // 0x00 might be a valid command + uint64_t LastCommand = ~0; // 0x00 might be a valid command unsigned int LastData = 0; bool repeat = false; @@ -109,13 +109,13 @@ void cRcuRemote::Action(void) buffer.raw[i] = b; if (i == 5) { unsigned short Address = ntohs(buffer.data.address); // the PIC sends bytes in "network order" - uint64 Command = ntohl(buffer.data.command); + uint64_t Command = ntohl(buffer.data.command); if (code == 'B' && Address == 0x0000 && Command == 0x00004000) // Well, well, if it isn't the "d-box"... // This remote control sends the above command before and after // each keypress - let's just drop this: break; - Command |= uint64(Address) << 32; + Command |= uint64_t(Address) << 32; if (Command != LastCommand) { LastCommand = Command; repeat = false; -- cgit v1.2.3