From f627c7031c0a0ec4c01bffef2693e28985f10cc8 Mon Sep 17 00:00:00 2001 From: Stefan Seyfried Date: Sun, 27 Apr 2014 19:33:45 +0200 Subject: [PATCH] getservices: fix format-string warnings Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/4c2a81a9bd44b89440752a41d9604a0d5fa73ee3 Author: Stefan Seyfried Date: 2014-04-27 (Sun, 27 Apr 2014) --- src/zapit/src/getservices.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/zapit/src/getservices.cpp b/src/zapit/src/getservices.cpp index b01e16048..d0ca20b3b 100644 --- a/src/zapit/src/getservices.cpp +++ b/src/zapit/src/getservices.cpp @@ -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