aboutsummaryrefslogtreecommitdiffstats
path: root/util/scan/diseqc.c
diff options
context:
space:
mode:
authorDebian VDR Team <pkg-vdr-dvb-devel@lists.alioth.debian.org>2006-06-03 13:12:54 +0200
committeretobi <git@e-tobi.net>2013-09-03 09:48:40 +0200
commit43dd9e25dce3963f25444533466ad1f8faa66e47 (patch)
tree134e7e7d2a0f0df1e731e65bffc445bd026539fb /util/scan/diseqc.c
parent2ade78e0b7545aa63792aa4b08f0f88eba0b0e3e (diff)
parent6b350466c4902c5b137e0efaf1d189128a7f18f5 (diff)
downloadlinux-dvb-apps-43dd9e25dce3963f25444533466ad1f8faa66e47.tar.gz
Imported Debian patch 1.1.1-1debian/1.1.1-1
Diffstat (limited to '')
-rw-r--r--util/scan/diseqc.c2
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];