diff options
author | Bill Meier <wmeier@newsguy.com> | 2013-03-20 01:18:10 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2013-03-20 01:18:10 +0000 |
commit | 0df5a9390d41149dfc87440d72e7669ba96748ec (patch) | |
tree | 8accf4dfc301adfc679ed7f21b7123cb4b2c55f9 /epan/value_string.c | |
parent | a43e5a7eb9fe1ad5a89e7cfd556a791a50fefee7 (diff) | |
download | wireshark-0df5a9390d41149dfc87440d72e7669ba96748ec.tar.gz wireshark-0df5a9390d41149dfc87440d72e7669ba96748ec.tar.bz2 wireshark-0df5a9390d41149dfc87440d72e7669ba96748ec.zip |
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.c | 2 |
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 */ |