diff options
author | etobi <git@e-tobi.net> | 2013-09-03 09:48:41 +0200 |
---|---|---|
committer | etobi <git@e-tobi.net> | 2013-09-03 09:48:41 +0200 |
commit | ab959d7b4194715870128e616b8e29d4a101e488 (patch) | |
tree | 61a746231d30817be73416a7d67763fd677a1042 /util/lib/lnb.c | |
parent | 6b350466c4902c5b137e0efaf1d189128a7f18f5 (diff) | |
download | linux-dvb-apps-ab959d7b4194715870128e616b8e29d4a101e488.tar.gz |
Imported Upstream version 1.1.1+rev1207upstream/1.1.1+rev1207
Diffstat (limited to '')
-rw-r--r-- | test/lnb.c (renamed from util/lib/lnb.c) | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/util/lib/lnb.c b/test/lnb.c index d082181..9052d1c 100644 --- a/util/lib/lnb.c +++ b/test/lnb.c @@ -12,7 +12,7 @@ static char *univ_desc[] = { static char *dbs_desc[] = { "Expressvu, North America", "12200 to 12700 MHz", - "Single LO, 11250 MHz", + "Single LO, 11250 MHz", (char *)NULL }; static char *standard_desc[] = { @@ -47,7 +47,7 @@ static struct lnb_types_st lnbs[] = { struct lnb_types_st * lnb_enum(int curno) { - if (curno >= sizeof(lnbs) / sizeof(lnbs[0])) + if (curno >= (int) (sizeof(lnbs) / sizeof(lnbs[0]))) return (struct lnb_types_st *)NULL; return &lnbs[curno]; } @@ -68,7 +68,7 @@ char *cp, *np; while(*cp && isspace(*cp)) cp++; if (isalpha(*cp)) { - for(i = 0; i < (sizeof(lnbs) / sizeof(lnbs[0])); i++) { + for (i = 0; i < (int)(sizeof(lnbs) / sizeof(lnbs[0])); i++) { if (!strcasecmp(lnbs[i].name, cp)) { *lnbp = lnbs[i]; return 1; |