aboutsummaryrefslogtreecommitdiffstats
path: root/epan/stats_tree.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2013-11-30 00:05:24 +0000
committerGuy Harris <guy@alum.mit.edu>2013-11-30 00:05:24 +0000
commit216f631e8a197a36dfeaf344f35d44d3df33a1fe (patch)
treeab798daa5bd6f4667eaae83cd1d8835f0d27f603 /epan/stats_tree.c
parent1d80b1e16c0fa233b2f6586fba20272cdd812f1c (diff)
Casts required from void * in C++.
svn path=/trunk/; revision=53664
Diffstat (limited to 'epan/stats_tree.c')
-rw-r--r--epan/stats_tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/stats_tree.c b/epan/stats_tree.c
index 2e7bc19711..ef3f037f33 100644
--- a/epan/stats_tree.c
+++ b/epan/stats_tree.c
@@ -1263,7 +1263,7 @@ stats_tree_format_as_str(const stats_tree* st, st_format_type format_type,
for (count = 1; count<st->num_columns; count++) {
sep_length += stats_tree_get_column_size(count)+2;
}
- separator = g_malloc(sep_length+1);
+ separator = (gchar *)g_malloc(sep_length+1);
memset (separator, '=', sep_length);
separator[sep_length] = 0;