diff options
author | Guy Harris <guy@alum.mit.edu> | 2018-03-07 23:11:59 -0800 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2018-03-08 08:14:09 +0000 |
commit | 3905c0d5d5532d10fa79b0481c9ce01e6752983d (patch) | |
tree | 9301f7a674c40c638d38ff66ab8c03cc42af2fc4 /epan/dissectors/packet-tcp.c | |
parent | 8a677354bd14eb1cff01c01bc9a303c502074d56 (diff) |
Don't unnecessarily cast away constness.
Change-Id: Ib956667dec3ffdacbde3252da3242ea16819c266
Reviewed-on: https://code.wireshark.org/review/26356
Petri-Dish: Guy Harris <guy@alum.mit.edu>
Tested-by: Petri Dish Buildbot
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan/dissectors/packet-tcp.c')
-rw-r--r-- | epan/dissectors/packet-tcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-tcp.c b/epan/dissectors/packet-tcp.c index abfcdcc92c..5d9d479012 100644 --- a/epan/dissectors/packet-tcp.c +++ b/epan/dissectors/packet-tcp.c @@ -1056,7 +1056,7 @@ follow_tcp_tap_listener(void *tapdata, packet_info *pinfo, { follow_record_t *follow_record, *frag_follow_record; follow_info_t *follow_info = (follow_info_t *)tapdata; - tcp_follow_tap_data_t *follow_data = (tcp_follow_tap_data_t *)data; + const tcp_follow_tap_data_t *follow_data = (const tcp_follow_tap_data_t *)data; guint32 sequence = follow_data->tcph->th_seq; guint32 length = follow_data->tcph->th_seglen; guint32 data_length = tvb_captured_length(follow_data->tvb); |