summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2014-12-06 10:11:02 +0100
committerlouis <louis.braun@gmx.de>2014-12-06 10:11:02 +0100
commit7b538a7be703c70625b38644dfc8d6c04f11af2c (patch)
tree72d58f21af30170c65d269bc1f9d7c640b13dbe7
parentdef1b3cc301398875b43fc52e50ed936302f56c6 (diff)
downloadvdr-plugin-skindesigner-7b538a7be703c70625b38644dfc8d6c04f11af2c.tar.gz
vdr-plugin-skindesigner-7b538a7be703c70625b38644dfc8d6c04f11af2c.tar.bz2
fixed some compiler warnings
-rw-r--r--config.c2
-rw-r--r--skindesigner.c2
2 files changed, 2 insertions, 2 deletions
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;