diff --git a/config.c b/config.c index b13c358..5f8e55a 100644 --- a/config.c +++ b/config.c @@ -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) { diff --git a/skindesigner.c b/skindesigner.c index 872e05c..fb0b792 100644 --- a/skindesigner.c +++ b/skindesigner.c @@ -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;