aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastien Tandel <sebastien@tandel.be>2007-03-29 22:58:02 +0000
committerSebastien Tandel <sebastien@tandel.be>2007-03-29 22:58:02 +0000
commit8405f21ea21bea4a09a5bda6547541be5b920008 (patch)
tree6470c3898c6e9395e95a61ecacae07cf67d2e822
parent82b2c83149a46f226cdec1ac76d35679609d0a0d (diff)
strict aliasing warnings fix : replace (void**) by (void*)
svn path=/trunk/; revision=21274
-rw-r--r--epan/dfilter/dfilter-macro.c2
-rw-r--r--plugins/mate/mate_runtime.c2
-rw-r--r--plugins/mate/mate_util.c4
3 files changed, 4 insertions, 4 deletions
diff --git a/epan/dfilter/dfilter-macro.c b/epan/dfilter/dfilter-macro.c
index 7f754b2e32..77f4ebbcc4 100644
--- a/epan/dfilter/dfilter-macro.c
+++ b/epan/dfilter/dfilter-macro.c
@@ -471,7 +471,7 @@ void dfilter_macro_init(void) {
dfilter_macro_uat = uat_new("Display Filter Macros",
sizeof(dfilter_macro_t),
DFILTER_MACRO_FILENAME,
- (void**) &macros,
+ (void*) &macros,
&num_macros,
NULL,
"ChDisplayFilterMacrosSection",
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) {