aboutsummaryrefslogtreecommitdiffstats
path: root/epan/value_string.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2013-03-20 01:18:10 +0000
committerBill Meier <wmeier@newsguy.com>2013-03-20 01:18:10 +0000
commit0df5a9390d41149dfc87440d72e7669ba96748ec (patch)
tree8accf4dfc301adfc679ed7f21b7123cb4b2c55f9 /epan/value_string.c
parenta43e5a7eb9fe1ad5a89e7cfd556a791a50fefee7 (diff)
From beroset:
remove C++ incompatibilities https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8416 attachment #10397 svn path=/trunk/; revision=48438
Diffstat (limited to 'epan/value_string.c')
-rw-r--r--epan/value_string.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/value_string.c b/epan/value_string.c
index 61e9ee7e88..77d65819ab 100644
--- a/epan/value_string.c
+++ b/epan/value_string.c
@@ -136,7 +136,7 @@ value_string_ext_new(value_string *vs, guint vs_tot_num_entries, const gchar *vs
g_assert (vs_name != NULL);
g_assert (vs_tot_num_entries > 0);
g_assert (vs[vs_tot_num_entries-1].strptr == NULL); /* Null-terminated value-string ? */
- vse = g_malloc(sizeof (value_string_ext));
+ vse = (value_string_ext *)g_malloc(sizeof (value_string_ext));
vse->_vs_p = vs;
vse->_vs_num_entries = vs_tot_num_entries - 1; /* remember the actual number of entries */
vse->_vs_first_value = 0; /* initialized in _match_strval_ext_init */