summaryrefslogtreecommitdiff
path: root/osdbase.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2010-12-12 13:42:00 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2010-12-12 13:42:00 +0100
commit7b77774a99887448a54ba3c49782b77fdf01cef0 (patch)
tree4dfb04f7d6f162962df5f2aaf01d573965e0dd53 /osdbase.c
parent1e166490c8f9d4b6feddf6a3adc39dc5287a1fca (diff)
downloadvdr-7b77774a99887448a54ba3c49782b77fdf01cef0.tar.gz
vdr-7b77774a99887448a54ba3c49782b77fdf01cef0.tar.bz2
Added typecasts to avoid gcc 4.5 warnings in switch statements on eKeys variables where additional 'k_...' flags are used
Diffstat (limited to 'osdbase.c')
-rw-r--r--osdbase.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/osdbase.c b/osdbase.c
index 0cdedb23..b0df4de3 100644
--- a/osdbase.c
+++ b/osdbase.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: osdbase.c 2.2 2010/01/17 11:36:12 kls Exp $
+ * $Id: osdbase.c 2.3 2010/12/12 13:41:28 kls Exp $
*/
#include "osdbase.h"
@@ -500,7 +500,7 @@ eOSState cOsdMenu::ProcessKey(eKeys Key)
return state;
}
}
- switch (Key) {
+ switch (int(Key)) {
case k0: return osUnknown;
case k1...k9: return hasHotkeys ? HotKey(Key) : osUnknown;
case kUp|k_Repeat: