From 6d22edc2d8accdfa1fabdd2722859453cc734990 Mon Sep 17 00:00:00 2001 From: louis Date: Thu, 2 Apr 2015 11:57:19 +0200 Subject: fixed some compiler warnings --- libcore/imagecache.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libcore/imagecache.c') diff --git a/libcore/imagecache.c b/libcore/imagecache.c index ad063f6..3d80f9b 100644 --- a/libcore/imagecache.c +++ b/libcore/imagecache.c @@ -91,7 +91,7 @@ cImage *cImageCache::GetLogo(string channelID, int width, int height) { return NULL; bool success = LoadLogo(channel); if (success) { - if (config.limitLogoCache && (channelLogoCache.size() >= config.numLogosMax)) { + if (config.limitLogoCache && ((int)channelLogoCache.size() >= config.numLogosMax)) { //logo cache is full, don't cache anymore if (tempStaticLogo) { delete tempStaticLogo; @@ -245,6 +245,8 @@ string cImageCache::GetIconName(string label, eMenuCategory cat) { return "standardicons/Miscellaneous"; case mcCommand: return "standardicons/Commands"; + default: + break; } //check for standard menu entries for (int i=0; i<16; i++) { -- cgit v1.2.3