Silenced compilation warnings.

This commit is contained in:
Rolf Ahrenberg 2012-02-19 19:14:10 +02:00
parent 73311873bc
commit 49e3a9e23a
1 changed files with 2 additions and 2 deletions

View File

@ -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;