mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 01:11:06 +02:00
getservices: fix format-string warnings
Origin commit data
------------------
Commit: 4c2a81a9bd
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2014-04-27 (Sun, 27 Apr 2014)
This commit is contained in:
@@ -167,7 +167,7 @@ void CServiceManager::RemoveAllChannels()
|
||||
|
||||
void CServiceManager::RemovePosition(t_satellite_position satellitePosition)
|
||||
{
|
||||
INFO("delete %d, size before: %d", satellitePosition, allchans.size());
|
||||
INFO("delete %d, size before: %zd", satellitePosition, allchans.size());
|
||||
t_channel_id live_id = CZapit::getInstance()->GetCurrentChannelID();
|
||||
for (channel_map_iterator_t it = allchans.begin(); it != allchans.end();) {
|
||||
if (it->second.getSatellitePosition() == satellitePosition && live_id != it->first)
|
||||
@@ -176,7 +176,7 @@ void CServiceManager::RemovePosition(t_satellite_position satellitePosition)
|
||||
++it;
|
||||
}
|
||||
services_changed = true;
|
||||
INFO("delete %d, size after: %d", satellitePosition, allchans.size());
|
||||
INFO("delete %d, size after: %zd", satellitePosition, allchans.size());
|
||||
}
|
||||
|
||||
#if 0
|
||||
|
Reference in New Issue
Block a user