diff options
author | Stephen Fisher <steve@stephen-fisher.com> | 2007-04-03 21:17:13 +0000 |
---|---|---|
committer | Stephen Fisher <steve@stephen-fisher.com> | 2007-04-03 21:17:13 +0000 |
commit | 6625e7503ff42d40780a1bf36e8070c02624ba6b (patch) | |
tree | c6563c2f2dae079e0be033a6a8fc81221faea4bc /plugins | |
parent | 8a277a497f8dde4a143d6617b0f669e0ff62b5bf (diff) | |
download | wireshark-6625e7503ff42d40780a1bf36e8070c02624ba6b.tar.gz wireshark-6625e7503ff42d40780a1bf36e8070c02624ba6b.tar.bz2 wireshark-6625e7503ff42d40780a1bf36e8070c02624ba6b.zip |
Fix warnings on Linux/gcc 4.1.1
svn path=/trunk/; revision=21330
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mate/mate_runtime.c | 2 | ||||
-rw-r--r-- | plugins/mate/mate_util.c | 4 |
2 files changed, 3 insertions, 3 deletions
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) { |