summaryrefslogtreecommitdiff
path: root/epan/dissectors/packet-ltp.c
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2010-01-15 13:51:47 +0000
committerStig Bjørlykke <stig@bjorlykke.org>2010-01-15 13:51:47 +0000
commit9d918146ffe34c8ec35c66cc4cc94ce9575a3f31 (patch)
tree9fe1303f5da5c8d1b217e88edb4ef0ac8cec5932 /epan/dissectors/packet-ltp.c
parent825589311426f68450b832d06efec71d3cf0b149 (diff)
downloadwireshark-9d918146ffe34c8ec35c66cc4cc94ce9575a3f31.tar.gz
Changed val_to_str() to val_to_str_const() when used with col_set_str().
svn path=/trunk/; revision=31535
Diffstat (limited to 'epan/dissectors/packet-ltp.c')
-rw-r--r--epan/dissectors/packet-ltp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-ltp.c b/epan/dissectors/packet-ltp.c
index 94a174cd14..41631a4be2 100644
--- a/epan/dissectors/packet-ltp.c
+++ b/epan/dissectors/packet-ltp.c
@@ -672,7 +672,7 @@ dissect_ltp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
}
}
frame_offset += segment_offset;
- col_set_str(pinfo->cinfo, COL_INFO, val_to_str(ltp_type,ltp_type_col_info,"Protocol Error"));
+ col_set_str(pinfo->cinfo, COL_INFO, val_to_str_const(ltp_type,ltp_type_col_info,"Protocol Error"));
/* Check to see if there are any trailer extensions */
if(trl_extn_cnt > 0){
if((unsigned)frame_offset >= tvb_length(tvb)){