mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 15:32:52 +02:00
CBouquetList/CTPSelectHandler: try to fix possible format-overflow errors
Compiler error: [-Werror=format-overflow=]
Origin commit data
------------------
Branch: ni/coolstream
Commit: 4c2e9bb878
Author: Thilo Graf <dbt@novatux.de>
Date: 2018-03-02 (Fri, 02 Mar 2018)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -2058,7 +2058,7 @@ int CTPSelectHandler::exec(CMenuTarget* parent, const std::string &actionkey)
|
||||
int i = menu.getItemsCount();
|
||||
transponder_list_t &select_transponders = CServiceManager::getInstance()->GetSatelliteTransponders(position);
|
||||
for (transponder_list_t::iterator tI = select_transponders.begin(); tI != select_transponders.end(); ++tI) {
|
||||
sprintf(cnt, "%d", i);
|
||||
snprintf(cnt, sizeof(cnt), "%d", i);
|
||||
transponder & t = tI->second;
|
||||
|
||||
if(!old_selected && ct == t)
|
||||
|
Reference in New Issue
Block a user