diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2010-12-12 13:42:00 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2010-12-12 13:42:00 +0100 |
commit | 7b77774a99887448a54ba3c49782b77fdf01cef0 (patch) | |
tree | 4dfb04f7d6f162962df5f2aaf01d573965e0dd53 /osdbase.c | |
parent | 1e166490c8f9d4b6feddf6a3adc39dc5287a1fca (diff) | |
download | vdr-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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: |