From 6625e7503ff42d40780a1bf36e8070c02624ba6b Mon Sep 17 00:00:00 2001 From: Stephen Fisher Date: Tue, 3 Apr 2007 21:17:13 +0000 Subject: Fix warnings on Linux/gcc 4.1.1 svn path=/trunk/; revision=21330 --- plugins/mate/mate_runtime.c | 2 +- plugins/mate/mate_util.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins') diff --git a/plugins/mate/mate_runtime.c b/plugins/mate/mate_runtime.c index 99bea688de..87cb4ab071 100644 --- a/plugins/mate/mate_runtime.c +++ b/plugins/mate/mate_runtime.c @@ -494,7 +494,7 @@ static void analize_pdu(mate_pdu* pdu) { if ((gopkey_match = new_avpl_exact_match("gop_key_match",pdu->avpl,cfg->key, TRUE))) { gop_key = avpl_to_str(gopkey_match); - g_hash_table_lookup_extended(cfg->gop_index,(gconstpointer)gop_key,(gpointer*)&orig_gop_key,(gpointer*)&gop); + g_hash_table_lookup_extended(cfg->gop_index,(gconstpointer)gop_key,(gpointer)&orig_gop_key,(gpointer)&gop); if ( gop ) { g_free(gop_key); diff --git a/plugins/mate/mate_util.c b/plugins/mate/mate_util.c index 1c66cea3df..b6c9984083 100644 --- a/plugins/mate/mate_util.c +++ b/plugins/mate/mate_util.c @@ -139,7 +139,7 @@ gchar* scs_subscribe(SCS_collection* c, const gchar* s) { size_t len = 0; GMemChunk* chunk = NULL; - g_hash_table_lookup_extended(c->hash,(gconstpointer)s,(gpointer*)&orig,(gpointer*)&ip); + g_hash_table_lookup_extended(c->hash,(gconstpointer)s,(gpointer)&orig,(gpointer)&ip); if (ip) { (*ip)++; @@ -190,7 +190,7 @@ void scs_unsubscribe(SCS_collection* c, gchar* s) { size_t len = 0xffff; GMemChunk* chunk = NULL; - g_hash_table_lookup_extended(c->hash,(gconstpointer)s,(gpointer*)&orig,(gpointer*)&ip); + g_hash_table_lookup_extended(c->hash,(gconstpointer)s,(gpointer)&orig,(gpointer)&ip); if (ip) { if (*ip == 0) { -- cgit v1.2.3