aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-etch.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2011-04-22 03:31:06 +0000
committerGuy Harris <guy@alum.mit.edu>2011-04-22 03:31:06 +0000
commit68ad69863e7923c39b9cbee1b58fd56dfef6bdff (patch)
tree84b03381b7725e08ba31b1270e9f399572460ea0 /epan/dissectors/packet-etch.c
parentf7390f0ea90f1571e0601e392fc90af31ab70079 (diff)
Cast away bogus warnings. (I begin to see why C++ has templates here,
complicated though they might be for both users and implementors....) svn path=/trunk/; revision=36792
Diffstat (limited to 'epan/dissectors/packet-etch.c')
-rw-r--r--epan/dissectors/packet-etch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-etch.c b/epan/dissectors/packet-etch.c
index e485604c1e..875736faab 100644
--- a/epan/dissectors/packet-etch.c
+++ b/epan/dissectors/packet-etch.c
@@ -192,7 +192,7 @@ gbl_symbols_free(void) {
if (gbl_symbols_array != NULL) {
value_string *vs_p;
guint i;
- vs_p = (value_string *)gbl_symbols_array->data;
+ vs_p = (value_string *)(void *)gbl_symbols_array->data;
for (i=0; i<gbl_symbols_array->len; i++) {
g_free((gchar *)vs_p[i].strptr);
}
@@ -227,7 +227,7 @@ gbl_symbols_vs_ext_new(void) {
DISSECTOR_ASSERT(gbl_symbols_vs_ext == NULL);
DISSECTOR_ASSERT(gbl_symbols_array != NULL);
g_array_sort(gbl_symbols_array, gbl_symbols_compare_vs);
- gbl_symbols_vs_ext = value_string_ext_new((value_string *)gbl_symbols_array->data,
+ gbl_symbols_vs_ext = value_string_ext_new((value_string *)(void *)gbl_symbols_array->data,
gbl_symbols_array->len+1,
"etch-global-symbols" );
}