aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-gsm_osmux.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2018-02-17 13:11:10 -0800
committerGuy Harris <guy@alum.mit.edu>2018-02-17 21:11:48 +0000
commita14c6a849090e32fcdf8136be8ba9360c371bf5c (patch)
tree952724805d20894e0af94b8c29024521c29fc9bf /epan/dissectors/packet-gsm_osmux.c
parent1c5d6881de42d9093933718e7bec6211222fb7d6 (diff)
Constify a pointer to squelch a warning.
Change-Id: I3e83f79227b080d336b5fef14df1ea75a13238de Reviewed-on: https://code.wireshark.org/review/25844 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan/dissectors/packet-gsm_osmux.c')
-rw-r--r--epan/dissectors/packet-gsm_osmux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-gsm_osmux.c b/epan/dissectors/packet-gsm_osmux.c
index ffbb5bac48..e6cf2e8797 100644
--- a/epan/dissectors/packet-gsm_osmux.c
+++ b/epan/dissectors/packet-gsm_osmux.c
@@ -388,7 +388,7 @@ static int osmux_stats_tree_packet(stats_tree *st, packet_info *pinfo,
{
gchar* stream_name;
gchar* ft_name;
- struct osmux_hdr *osmuxh = (struct osmux_hdr*) p;
+ const struct osmux_hdr *osmuxh = (const struct osmux_hdr*) p;
struct osmux_stream *stream = osmuxh->stream;
stream_name = stream_str(stream, pinfo);