aboutsummaryrefslogtreecommitdiffstats
path: root/epan/value_string.c
diff options
context:
space:
mode:
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 cb439c3590..3d430c0957 100644
--- a/epan/value_string.c
+++ b/epan/value_string.c
@@ -131,7 +131,7 @@ match_strval(const guint32 val, const value_string *vs) {
/* Note: The total number of entries should include the required {0, NULL} terminating entry of the array. */
/* Return: a pointer to a g_malloc'd and initialized value_string_ext struct. */
value_string_ext *
-value_string_ext_new(value_string *vs, guint vs_tot_num_entries, gchar *vs_name) {
+value_string_ext_new(value_string *vs, guint vs_tot_num_entries, const gchar *vs_name) {
value_string_ext *vse;
g_assert (vs_name != NULL);
g_assert (vs_tot_num_entries > 0);