diff --git a/epan/dissectors/packet-ber.c b/epan/dissectors/packet-ber.c index 896d6e2a01..c166ab3892 100644 --- a/epan/dissectors/packet-ber.c +++ b/epan/dissectors/packet-ber.c @@ -449,7 +449,7 @@ dissect_ber_boolean(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int off /* this function dissects a BER sequence */ -int dissect_ber_sequence(gboolean implicit_tag, packet_info *pinfo, proto_tree *parent_tree, tvbuff_t *tvb, int offset, ber_sequence *seq, gint hf_id, gint ett_id) { +int dissect_ber_sequence(gboolean implicit_tag, packet_info *pinfo, proto_tree *parent_tree, tvbuff_t *tvb, int offset, const ber_sequence *seq, gint hf_id, gint ett_id) { guint8 class; gboolean pc, ind; guint32 tag; diff --git a/epan/dissectors/packet-ber.h b/epan/dissectors/packet-ber.h index 7ace045df3..66f6d65587 100644 --- a/epan/dissectors/packet-ber.h +++ b/epan/dissectors/packet-ber.h @@ -105,7 +105,7 @@ typedef struct _ber_sequence { /* this function dissects a BER sequence */ -extern int dissect_ber_sequence(gboolean implicit_tag, packet_info *pinfo, proto_tree *parent_tree, tvbuff_t *tvb, int offset, ber_sequence *seq, gint hf_id, gint ett_id); +extern int dissect_ber_sequence(gboolean implicit_tag, packet_info *pinfo, proto_tree *parent_tree, tvbuff_t *tvb, int offset, const ber_sequence *seq, gint hf_id, gint ett_id); typedef struct _ber_choice {