forked from osmocom/wireshark
Fix warnings in packet-parlay.c
packet-parlay.c:53643:9: warning: passing argument 2 of 'get_CDR_wchar' from incompatible pointer type [enabled by default] packet-parlay.c:53667:9: warning: passing argument 2 of 'get_CDR_wstring' from incompatible pointer type [enabled by default] Change-Id: I027809139e74b563e759f28e2e141951166e53d0 Reviewed-on: https://code.wireshark.org/review/170 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Reviewed-by: Anders Broman <a.broman58@gmail.com> Tested-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
parent
0e3081a56b
commit
0e120c16df
|
@ -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 */
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue