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>
This commit is contained in:
Guy Harris 2018-02-17 13:11:10 -08:00
parent 1c5d6881de
commit a14c6a8490
1 changed files with 1 additions and 1 deletions

View File

@ -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);