From bd2fb8fb6bda37281dce06e84941cbde77cefc95 Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Sun, 10 Dec 2017 19:54:07 +0100 Subject: [PATCH] CServiceManager: use value 0 as init value for feparams.plp_id Value of NO_STREAM_ID_FILTER = ~0U This could provokate overflow errors or possible compile errors related with compiler flags (e.g: -Werror=overflow) Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/1d0545e19c5630689ad4c2b09a7e03cf069cb22f Author: Thilo Graf Date: 2017-12-10 (Sun, 10 Dec 2017) ------------------ This commit was generated by Migit --- src/zapit/src/getservices.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/zapit/src/getservices.cpp b/src/zapit/src/getservices.cpp index a64585252..d4fe5fe3b 100644 --- a/src/zapit/src/getservices.cpp +++ b/src/zapit/src/getservices.cpp @@ -622,7 +622,7 @@ void CServiceManager::ParseSatTransponders(delivery_system_t delsys, xmlNodePtr feparams.frequency = xmlGetNumericAttribute(tps, "centre_frequency", 0); feparams.inversion = INVERSION_AUTO; - feparams.plp_id = NO_STREAM_ID_FILTER; + feparams.plp_id = 0; // NO_STREAM_ID_FILTER = ~0U, seems not suitable here feparams.pls_mode = PLS_Root; feparams.pls_code = 1;