summaryrefslogtreecommitdiff
path: root/remote.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2000-11-11 11:31:17 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2000-11-11 11:31:17 +0100
commit36d187f64c82e3957bc99eb16ccc5310ffafe290 (patch)
tree416ce486dfba91f80093f2a1697560bd7b5c32ed /remote.c
parentb668b2d013cdd79ace08f9e89817cc631ef555d0 (diff)
downloadvdr-36d187f64c82e3957bc99eb16ccc5310ffafe290.tar.gz
vdr-36d187f64c82e3957bc99eb16ccc5310ffafe290.tar.bz2
Fixed learning keys on the PC keyboard (display oscillated)
Diffstat (limited to 'remote.c')
-rw-r--r--remote.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/remote.c b/remote.c
index f60d7685..349a4452 100644
--- a/remote.c
+++ b/remote.c
@@ -6,7 +6,7 @@
*
* Ported to LIRC by Carsten Koch <Carsten.Koch@icem.de> 2000-06-16.
*
- * $Id: remote.c 1.18 2000/10/08 16:49:41 kls Exp $
+ * $Id: remote.c 1.19 2000/11/11 11:22:22 kls Exp $
*/
#include "remote.h"
@@ -73,7 +73,7 @@ bool cRcIoKBD::GetCommand(unsigned int *Command, bool *Repeat, bool *Release)
{
if (Command) {
*Command = getch();
- return *Command > 0;
+ return int(*Command) > 0;
}
return false;
}