summaryrefslogtreecommitdiffstats
path: root/kaffeine/src/input/dvb/lib/libucsi/dvb/nit_section.c
diff options
context:
space:
mode:
Diffstat (limited to 'kaffeine/src/input/dvb/lib/libucsi/dvb/nit_section.c')
-rw-r--r--kaffeine/src/input/dvb/lib/libucsi/dvb/nit_section.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/kaffeine/src/input/dvb/lib/libucsi/dvb/nit_section.c b/kaffeine/src/input/dvb/lib/libucsi/dvb/nit_section.c
index d931926..664a0cb 100644
--- a/kaffeine/src/input/dvb/lib/libucsi/dvb/nit_section.c
+++ b/kaffeine/src/input/dvb/lib/libucsi/dvb/nit_section.c
@@ -25,8 +25,8 @@ struct dvb_nit_section *dvb_nit_section_codec(struct section_ext * ext)
{
uint8_t * buf = (uint8_t *) ext;
struct dvb_nit_section * ret = (struct dvb_nit_section *) ext;
- unsigned int pos = sizeof(struct section_ext);
- unsigned int len = section_ext_length(ext);
+ size_t pos = sizeof(struct section_ext);
+ size_t len = section_ext_length(ext);
if (len < sizeof(struct dvb_nit_section))
return NULL;
@@ -76,4 +76,3 @@ struct dvb_nit_section *dvb_nit_section_codec(struct section_ext * ext)
return ret;
}
-