From 10f6d90f16835d0c534dca69fa8c32be37b53b8d Mon Sep 17 00:00:00 2001 From: kamel5 Date: Sat, 23 Mar 2019 13:43:37 +0100 Subject: Eliminate some warnings --- channelgroups.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'channelgroups.c') diff --git a/channelgroups.c b/channelgroups.c index 793b75e..06e3285 100644 --- a/channelgroups.c +++ b/channelgroups.c @@ -69,7 +69,7 @@ const char* cChannelGroups::GetPrev(int group) { const char* cChannelGroups::GetNext(int group) { if (group > -1) { - if ((group+1) < channelGroups.size()) + if ((group+1) < (int)channelGroups.size()) return channelGroups[group+1].GetName(); } return ""; @@ -89,7 +89,7 @@ int cChannelGroups::GetNextGroupChannelNumber(const cChannel *channel) { int currentGroup = GetGroup(channel); if (currentGroup == -1) return 0; - if ((currentGroup+1) < channelGroups.size()) { + if ((currentGroup+1) < (int)channelGroups.size()) { return channelGroups[currentGroup+1].StartChannel(); } return 0; -- cgit v1.2.3