mirror of
https://git.koehlerweb.org/frodovdr/vdr-plugin-skindesigner.git
synced 2025-12-26 23:26:51 +01:00
fixed some compiler warnings
This commit is contained in:
@@ -156,7 +156,7 @@ vector<string>& splitstring::split(char delim, int rep) {
|
||||
string work = data();
|
||||
string buf = "";
|
||||
int i = 0;
|
||||
while (i < work.length()) {
|
||||
while (i < (int)work.length()) {
|
||||
if (work[i] != delim)
|
||||
buf += work[i];
|
||||
else if (rep == 1) {
|
||||
|
||||
@@ -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++) {
|
||||
|
||||
Reference in New Issue
Block a user