aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-dcm.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2016-11-20 10:45:03 -0800
committerGuy Harris <guy@alum.mit.edu>2016-11-20 18:45:38 +0000
commit1f512906db7dd98f6c47b85d081d4dd7b2877e5e (patch)
treea2b1a61b06715de54e1baa2d76c45934deefc04d /epan/dissectors/packet-dcm.c
parenta95667b388f75a40f7a63fb9b80e7ed896a836d9 (diff)
Make something to which we assign a string pointer const.
Change-Id: I4b292f252f0e4290fc8adc1e76aa589108fc597e Reviewed-on: https://code.wireshark.org/review/18905 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan/dissectors/packet-dcm.c')
-rw-r--r--epan/dissectors/packet-dcm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-dcm.c b/epan/dissectors/packet-dcm.c
index 4ecf297aa9..40737e22b6 100644
--- a/epan/dissectors/packet-dcm.c
+++ b/epan/dissectors/packet-dcm.c
@@ -5822,7 +5822,7 @@ dissect_dcm_tag_value(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, dcm_s
guint16 at_grp;
guint16 at_elm;
guint32 at_offset = 0;
- gchar *at_value = "";
+ const gchar *at_value = "";
while(at_offset < vl_max-3) {
if (is_little_endian) at_grp = tvb_get_letohs(tvb, offset+at_offset);