aboutsummaryrefslogtreecommitdiffstats
path: root/epan/proto.c
diff options
context:
space:
mode:
authorJoão Valverde <joao.valverde@tecnico.ulisboa.pt>2016-02-12 05:15:35 +0000
committerJoão Valverde <j@v6e.pt>2016-02-15 00:00:34 +0000
commit82bb9ebc015fc1cd63186ea1ac03a6ce81696903 (patch)
treeba42acabab9077113232f84142d2c35898beace3 /epan/proto.c
parent5066cf86901f8849deb1a79dbe14fec675bb99da (diff)
Add some casts to void * to fix (pedantic) argument mismatch notes
Change-Id: I63e46285b4c6676d4ae57196b85fbad89964898c Reviewed-on: https://code.wireshark.org/review/13933 Petri-Dish: João Valverde <j@v6e.pt> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: João Valverde <j@v6e.pt>
Diffstat (limited to 'epan/proto.c')
-rw-r--r--epan/proto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/proto.c b/epan/proto.c
index 149d441660..5c66291985 100644
--- a/epan/proto.c
+++ b/epan/proto.c
@@ -880,7 +880,7 @@ proto_register_prefix(const char *prefix, prefix_initializer_t pi ) {
prefixes = g_hash_table_new(prefix_hash, prefix_equal);
}
- g_hash_table_insert(prefixes, (gpointer)prefix, pi);
+ g_hash_table_insert(prefixes, (gpointer)prefix, (gpointer)pi);
}
/* helper to call all prefix initializers */