diff --git a/epan/dissectors/packet-parlay.c b/epan/dissectors/packet-parlay.c index b8dfb9265d..638ffae79d 100644 --- a/epan/dissectors/packet-parlay.c +++ b/epan/dissectors/packet-parlay.c @@ -53598,7 +53598,7 @@ decode_org_csapi_TpSimpleAttributeValue_un(tvbuff_t *tvb _U_, packet_info *pinfo guint32 u_octet4; gint32 disc_s_TpSimpleAttributeValue; gint8 s_octet1; - gchar *seq = NULL; + const gchar *seq = NULL; /* Operation specific Variable declarations End */ (void)item; /* Avoid coverity param_set_but_unused parse warning */ diff --git a/tools/wireshark_gen.py b/tools/wireshark_gen.py index 611194ffc1..6250877e53 100755 --- a/tools/wireshark_gen.py +++ b/tools/wireshark_gen.py @@ -139,7 +139,7 @@ class wireshark_gen_C: c_float = "gfloat my_float;" c_double = "gdouble my_double;" - c_seq = "gchar *seq = NULL;" # pointer to buffer of gchars + c_seq = "const gchar *seq = NULL;" # pointer to buffer of gchars c_i = "guint32 i_"; # loop index c_i_lim = "guint32 u_octet4_loop_"; # loop limit c_u_disc = "guint32 disc_u_"; # unsigned int union discriminant variable name (enum)