diff options
author | Debian VDR Team <pkg-vdr-dvb-devel@lists.alioth.debian.org> | 2006-06-03 13:12:54 +0200 |
---|---|---|
committer | etobi <git@e-tobi.net> | 2013-09-03 09:48:40 +0200 |
commit | 43dd9e25dce3963f25444533466ad1f8faa66e47 (patch) | |
tree | 134e7e7d2a0f0df1e731e65bffc445bd026539fb /util/scan/diseqc.c | |
parent | 2ade78e0b7545aa63792aa4b08f0f88eba0b0e3e (diff) | |
parent | 6b350466c4902c5b137e0efaf1d189128a7f18f5 (diff) | |
download | linux-dvb-apps-debian/1.1.1-1.tar.gz |
Imported Debian patch 1.1.1-1debian/1.1.1-1
Diffstat (limited to 'util/scan/diseqc.c')
-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]; |