summaryrefslogtreecommitdiff
path: root/channelgroups.c
diff options
context:
space:
mode:
authorkamel5 <vdr.kamel5 (at) gmx (dot) net>2019-03-23 13:43:37 +0100
committerkamel5 <vdr.kamel5 (at) gmx (dot) net>2019-03-23 15:42:41 +0100
commit10f6d90f16835d0c534dca69fa8c32be37b53b8d (patch)
tree86ba9d454c2f41974f5da3befa4f37b91b40256d /channelgroups.c
parent168973331cae4a6709d36fbedd590fa79e79aaf1 (diff)
downloadvdr-plugin-tvguide-10f6d90f16835d0c534dca69fa8c32be37b53b8d.tar.gz
vdr-plugin-tvguide-10f6d90f16835d0c534dca69fa8c32be37b53b8d.tar.bz2
Eliminate some warnings
Diffstat (limited to 'channelgroups.c')
-rw-r--r--channelgroups.c4
1 files changed, 2 insertions, 2 deletions
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;