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 2010-03-05 08:43:25 +02:00
parent d737278f78
commit 3b8cfd2323

View File

@ -67,11 +67,11 @@ bool cIptvTransponderParameters::Parse(const char *s)
++data; ++data;
switch (*token) { switch (*token) {
case 'S': case 'S':
sidscan = strtol(data, (char **)NULL, 10); sidscan = (int)strtol(data, (char **)NULL, 10);
found_s = true; found_s = true;
break; break;
case 'P': case 'P':
pidscan = strtol(data, (char **)NULL, 10); pidscan = (int)strtol(data, (char **)NULL, 10);
found_p = true; found_p = true;
break; break;
case 'F': case 'F':
@ -91,7 +91,7 @@ bool cIptvTransponderParameters::Parse(const char *s)
found_u = true; found_u = true;
break; break;
case 'A': case 'A':
parameter = strtol(data, (char **)NULL, 10); parameter = (int)strtol(data, (char **)NULL, 10);
found_a = true; found_a = true;
break; break;
default: default: