diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2014-02-10 23:30:27 +0100 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2014-02-10 22:54:02 +0000 |
commit | 0e120c16dfc76f86d62589cd207759ac8f25b437 (patch) | |
tree | b7de16a4958b470b03347aa309db848c9babd6da /tools/wireshark_gen.py | |
parent | 0e3081a56b49b6cdaf5c99bb908d3579a872489c (diff) |
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>
Diffstat (limited to 'tools/wireshark_gen.py')
-rwxr-xr-x | tools/wireshark_gen.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |