fixed some compiler warnings

This commit is contained in:
louis 2014-12-06 10:11:02 +01:00
parent def1b3cc30
commit 7b538a7be7
2 changed files with 2 additions and 2 deletions

View File

@ -72,7 +72,7 @@ void cDesignerConfig::ReadSkins(void) {
continue;
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) {

View File

@ -163,7 +163,7 @@ bool cPluginSkinDesigner::Service(const char *Id, void *Data) {
return false;
}
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;
} else if (strcmp(Id, "GetDisplayMenu") == 0) {
GetDisplayMenu* call = (GetDisplayMenu*) Data;