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:
parent
d737278f78
commit
3b8cfd2323
6
source.c
6
source.c
@ -67,11 +67,11 @@ bool cIptvTransponderParameters::Parse(const char *s)
|
||||
++data;
|
||||
switch (*token) {
|
||||
case 'S':
|
||||
sidscan = strtol(data, (char **)NULL, 10);
|
||||
sidscan = (int)strtol(data, (char **)NULL, 10);
|
||||
found_s = true;
|
||||
break;
|
||||
case 'P':
|
||||
pidscan = strtol(data, (char **)NULL, 10);
|
||||
pidscan = (int)strtol(data, (char **)NULL, 10);
|
||||
found_p = true;
|
||||
break;
|
||||
case 'F':
|
||||
@ -91,7 +91,7 @@ bool cIptvTransponderParameters::Parse(const char *s)
|
||||
found_u = true;
|
||||
break;
|
||||
case 'A':
|
||||
parameter = strtol(data, (char **)NULL, 10);
|
||||
parameter = (int)strtol(data, (char **)NULL, 10);
|
||||
found_a = true;
|
||||
break;
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user