forked from osmocom/wireshark
"dissect_ber_sequence()" doesn't modify the "ber_sequence" structure
passed to it; make that argument a const pointer. svn path=/trunk/; revision=12244
This commit is contained in:
parent
5bd4eb15a8
commit
c5c8453097
|
@ -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;
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue