diff options
author | etobi <git@e-tobi.net> | 2013-09-03 09:48:40 +0200 |
---|---|---|
committer | etobi <git@e-tobi.net> | 2013-09-03 09:48:40 +0200 |
commit | 6b350466c4902c5b137e0efaf1d189128a7f18f5 (patch) | |
tree | a7cf91f9896c0f8c9d8b291114e51f1373940c70 /util/scan/diseqc.c | |
parent | 6e40287e2f39a80fc72bd8d0fbc1a8334d688c2d (diff) | |
download | linux-dvb-apps-6b350466c4902c5b137e0efaf1d189128a7f18f5.tar.gz |
Imported Upstream version 1.1.1upstream/1.1.1
Diffstat (limited to '')
-rw-r--r-- | util/scan/diseqc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/scan/diseqc.c b/util/scan/diseqc.c index c763261..a337e0a 100644 --- a/util/scan/diseqc.c +++ b/util/scan/diseqc.c @@ -93,7 +93,7 @@ int setup_switch (int frontend_fd, int switch_pos, int voltage_18, int hiband) verbose("DiSEqC: switch pos %i, %sV, %sband (index %d)\n", switch_pos, voltage_18 ? "18" : "13", hiband ? "hi" : "lo", i); - if (i < 0 || i >= sizeof(switch_cmds)/sizeof(struct diseqc_cmd)) + if (i < 0 || i >= (int) (sizeof(switch_cmds)/sizeof(struct diseqc_cmd))) return -EINVAL; cmd[0] = &switch_cmds[i]; |