1
0
mirror of https://github.com/rofafor/vdr-plugin-iptv.git synced 2023-10-10 13:37:03 +02:00

Silenced compilation warnings.

This commit is contained in:
Rolf Ahrenberg 2012-02-19 19:14:10 +02:00
parent 73311873bc
commit 49e3a9e23a

View File

@ -138,7 +138,7 @@ int cIptvSectionFilter::CopyDump(const uint8_t *buf, uint8_t len)
return 0; return 0;
memcpy(secbuf_base + tsfeedp, buf, len); memcpy(secbuf_base + tsfeedp, buf, len);
tsfeedp += len; tsfeedp = uint16_t(tsfeedp + len);
limit = tsfeedp; limit = tsfeedp;
if (limit > DMX_MAX_SECFEED_SIZE) if (limit > DMX_MAX_SECFEED_SIZE)
@ -154,7 +154,7 @@ int cIptvSectionFilter::CopyDump(const uint8_t *buf, uint8_t len)
seclen = seclen_local; seclen = seclen_local;
if (pusi_seen) if (pusi_seen)
Feed(); Feed();
secbufp += seclen_local; secbufp = uint16_t(secbufp + seclen_local);
secbuf += seclen_local; secbuf += seclen_local;
} }
return 0; return 0;