summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKristian Lyngstol <kristian@bohemians.org>2009-02-07 19:08:47 +0100
committerKristian Lyngstol <kristian@nihilus.(none)>2009-02-07 19:08:47 +0100
commiteb2b80bba5d7a3b8743a58f67e49e31ebb42ca67 (patch)
tree93275b7fb7d1f11b88f53c78418901ad6f4890c1
parent15905c8a37495122ceace6270f776d7ffd9fd550 (diff)
downloadsession-eb2b80bba5d7a3b8743a58f67e49e31ebb42ca67.tar.gz
session-eb2b80bba5d7a3b8743a58f67e49e31ebb42ca67.tar.bz2
Fix warning correctly
-rw-r--r--session.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/session.c b/session.c
index a529d21..b7a314a 100644
--- a/session.c
+++ b/session.c
@@ -931,8 +931,9 @@ sessionGetObjectOptions (CompPlugin *plugin,
(GetPluginObjectOptionsProc) sessionGetDisplayOptions
};
+ *count = 0;
RETURN_DISPATCH (object, dispTab, ARRAY_SIZE (dispTab),
- 0, (plugin, object, count));
+ (void *) count, (plugin, object, count));
}
static CompBool