summaryrefslogtreecommitdiff
path: root/libcore/imagecache.c
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2015-04-02 11:59:20 +0200
committerlouis <louis.braun@gmx.de>2015-04-02 11:59:20 +0200
commit9d3d613013212237a2a09ca913b2b52aba90c3b6 (patch)
tree13c253b8d8544227752b9c2387d65ee464a9b6ea /libcore/imagecache.c
parent7420a865ac1aa8b93b96ffd84bb8efb7b1dc64aa (diff)
parent6d22edc2d8accdfa1fabdd2722859453cc734990 (diff)
downloadvdr-plugin-skindesigner-9d3d613013212237a2a09ca913b2b52aba90c3b6.tar.gz
vdr-plugin-skindesigner-9d3d613013212237a2a09ca913b2b52aba90c3b6.tar.bz2
Merge branch 'master' into libskindesigner
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++) {