From 1e7f93061d4f418adeb3e243cb0f65be4b4459cb Mon Sep 17 00:00:00 2001 From: Ben Date: Tue, 13 Apr 2010 19:55:51 +0000 Subject: [PATCH] Silence long vs. guint warnings. --- thrasher.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/thrasher.c b/thrasher.c index 0d04a3a..186719b 100644 --- a/thrasher.c +++ b/thrasher.c @@ -39,10 +39,11 @@ gboolean is_enabled(PurpleDebugLevel level, const char *category); static PurpleEventLoopUiOps glib_eventloops = { - thrasher_wrapper_set_timeout_add, - thrasher_wrapper_call_source_remove, - thrasher_wrapper_set_input_add, - thrasher_wrapper_call_source_remove, + (guint(*)(guint, GSourceFunc, gpointer)) thrasher_wrapper_set_timeout_add, + (gboolean(*)(guint)) thrasher_wrapper_call_source_remove, + ((guint(*)(int, PurpleInputCondition, PurpleInputFunction, gpointer)) + thrasher_wrapper_set_input_add), + (gboolean(*)(guint))thrasher_wrapper_call_source_remove, NULL, NULL, -- 2.11.4.GIT