forked from osmocom/wireshark
Don't unnecessarily cast away constness.
Change-Id: Ia7e6f55d4398ec2d1d35f3dc4ef5ff0c51b9746d Reviewed-on: https://code.wireshark.org/review/25959 Reviewed-by: Guy Harris <guy@alum.mit.edu>
This commit is contained in:
parent
a888bf7e68
commit
9efce5c916
|
@ -2849,7 +2849,7 @@ sharkd_session_process_frame_cb(epan_dissect_t *edt, proto_tree *tree, struct ep
|
|||
|
||||
for (i = 0; i < count; i++)
|
||||
{
|
||||
struct data_source *src = (struct data_source *) g_slist_nth_data((GSList *) data_src, i);
|
||||
const struct data_source *src = (const struct data_source *) g_slist_nth_data((GSList *) data_src, i);
|
||||
|
||||
tvbs[i] = get_data_source_tvb(src);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue