fixed some compiler warnings

This commit is contained in:
louis 2014-12-03 18:18:37 +01:00
parent 7ce445025e
commit 28fd2f5e1a
2 changed files with 2 additions and 2 deletions

View File

@ -72,7 +72,7 @@ void cDesignerConfig::ReadSkins(void) {
continue; continue;
skins.push_back(dirEntryName); skins.push_back(dirEntryName);
} }
dsyslog("skindesigner %d skins found in %s", skins.size(), *skinPath); dsyslog("skindesigner %ld skins found in %s", skins.size(), *skinPath);
} }
bool cDesignerConfig::GetSkin(string &skin) { bool cDesignerConfig::GetSkin(string &skin) {

View File

@ -163,7 +163,7 @@ bool cPluginSkinDesigner::Service(const char *Id, void *Data) {
return false; return false;
} }
config.AddPlugin(call->name, call->menus); config.AddPlugin(call->name, call->menus);
dsyslog("skindesigner: plugin %s has registered %d templates", call->name.c_str(), call->menus.size()); dsyslog("skindesigner: plugin %s has registered %ld templates", call->name.c_str(), call->menus.size());
return true; return true;
} else if (strcmp(Id, "GetDisplayMenu") == 0) { } else if (strcmp(Id, "GetDisplayMenu") == 0) {
GetDisplayMenu* call = (GetDisplayMenu*) Data; GetDisplayMenu* call = (GetDisplayMenu*) Data;