summaryrefslogtreecommitdiff
path: root/libcore/imagecache.c
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2015-04-02 11:57:19 +0200
committerlouis <louis.braun@gmx.de>2015-04-02 11:57:19 +0200
commit6d22edc2d8accdfa1fabdd2722859453cc734990 (patch)
treecf15ea3cf8df2da35475671bd2252105acacf60a /libcore/imagecache.c
parent70ce62e35312afb346db473a1c70178cbba68758 (diff)
downloadvdr-plugin-skindesigner-6d22edc2d8accdfa1fabdd2722859453cc734990.tar.gz
vdr-plugin-skindesigner-6d22edc2d8accdfa1fabdd2722859453cc734990.tar.bz2
fixed some compiler warnings
Diffstat (limited to 'libcore/imagecache.c')
-rw-r--r--libcore/imagecache.c4
1 files changed, 3 insertions, 1 deletions
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++) {