summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKristian Lyngstol <kristian@bohemians.org>2009-02-07 19:07:54 +0100
committerKristian Lyngstol <kristian@nihilus.(none)>2009-02-07 19:07:54 +0100
commit46485724a0cc8c27b9c79fbf2320a78611438d3b (patch)
tree4524f441bf28135cbe3ec2124b6f0c25ab37ec5a
parent1bad53262e241826d24b470cd07773f97fb4d46f (diff)
downloadwinrules-46485724a0cc8c27b9c79fbf2320a78611438d3b.tar.gz
winrules-46485724a0cc8c27b9c79fbf2320a78611438d3b.tar.bz2
Fix warning correctly
-rw-r--r--winrules.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/winrules.c b/winrules.c
index cddfd8e..65ef417 100644
--- a/winrules.c
+++ b/winrules.c
@@ -789,8 +789,9 @@ winrulesGetObjectOptions (CompPlugin *plugin,
(GetPluginObjectOptionsProc) winrulesGetScreenOptions
};
+ *count = 0;
RETURN_DISPATCH (object, dispTab, ARRAY_SIZE (dispTab),
- 0, (plugin, object, count));
+ (void *) count, (plugin, object, count));
}
static CompBool