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 /vdr.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 'vdr.c')
-rw-r--r-- | vdr.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -22,7 +22,7 @@ * * The project's page is at http://www.tvdr.de * - * $Id: vdr.c 2.19 2010/04/05 10:06:16 kls Exp $ + * $Id: vdr.c 2.20 2010/12/12 13:42:00 kls Exp $ */ #include <getopt.h> @@ -937,7 +937,7 @@ int main(int argc, char *argv[]) ShutdownHandler.SetUserInactiveTimeout(); } // Keys that must work independent of any interactive mode: - switch (key) { + switch (int(key)) { // Menu control: case kMenu: { key = kNone; // nobody else needs to see this key @@ -1185,7 +1185,7 @@ int main(int argc, char *argv[]) cRemote::PutMacro(key); key = kNone; } - switch (key) { + switch (int(key)) { // Toggle channels: case kChanPrev: case k0: { |