From 49e3a9e23a4e70347cf410a6df341f55d84e0a61 Mon Sep 17 00:00:00 2001 From: Rolf Ahrenberg Date: Sun, 19 Feb 2012 19:14:10 +0200 Subject: [PATCH] Silenced compilation warnings. --- sectionfilter.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sectionfilter.c b/sectionfilter.c index 8305aea..988f940 100644 --- a/sectionfilter.c +++ b/sectionfilter.c @@ -138,7 +138,7 @@ int cIptvSectionFilter::CopyDump(const uint8_t *buf, uint8_t len) return 0; memcpy(secbuf_base + tsfeedp, buf, len); - tsfeedp += len; + tsfeedp = uint16_t(tsfeedp + len); limit = tsfeedp; if (limit > DMX_MAX_SECFEED_SIZE) @@ -154,7 +154,7 @@ int cIptvSectionFilter::CopyDump(const uint8_t *buf, uint8_t len) seclen = seclen_local; if (pusi_seen) Feed(); - secbufp += seclen_local; + secbufp = uint16_t(secbufp + seclen_local); secbuf += seclen_local; } return 0;