diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-09-19 04:14:26 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-09-19 04:14:26 +0000 |
commit | c4e8a3222648fcf22ca207f1815ebbf7cd144eeb (patch) | |
tree | 93d5c6aa93d9987680dd1adad5685e2ad698f223 /epan/dissectors/packet-h221_nonstd.c | |
parent | Adding upstream version 4.2.6. (diff) | |
download | wireshark-c4e8a3222648fcf22ca207f1815ebbf7cd144eeb.tar.xz wireshark-c4e8a3222648fcf22ca207f1815ebbf7cd144eeb.zip |
Adding upstream version 4.4.0.upstream/4.4.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'epan/dissectors/packet-h221_nonstd.c')
-rw-r--r-- | epan/dissectors/packet-h221_nonstd.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/epan/dissectors/packet-h221_nonstd.c b/epan/dissectors/packet-h221_nonstd.c index 8136c881..83903b36 100644 --- a/epan/dissectors/packet-h221_nonstd.c +++ b/epan/dissectors/packet-h221_nonstd.c @@ -18,16 +18,16 @@ void proto_reg_handoff_nonstd(void); static dissector_handle_t ms_nonstd_handle; /* Define the nonstd proto */ -static int proto_nonstd = -1; +static int proto_nonstd; -static int hf_h221_nonstd_netmeeting_codec = -1; -static int hf_h221_nonstd_netmeeting_non_standard = -1; +static int hf_h221_nonstd_netmeeting_codec; +static int hf_h221_nonstd_netmeeting_non_standard; /* * Define the trees for nonstd * We need one for nonstd itself and one for the nonstd paramters */ -static int ett_nonstd = -1; +static int ett_nonstd; static const value_string ms_codec_vals[] = { { 0x0111, "L&H CELP 4.8k" }, @@ -46,9 +46,9 @@ dissect_ms_nonstd(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, void* { proto_item *it; proto_tree *tr; - guint32 offset=0; - gint tvb_len; - guint16 codec_extra; + uint32_t offset=0; + int tvb_len; + uint16_t codec_extra; it=proto_tree_add_protocol_format(tree, proto_nonstd, tvb, 0, tvb_reported_length(tvb), "Microsoft NonStd"); tr=proto_item_add_subtree(it, ett_nonstd); @@ -105,7 +105,7 @@ proto_register_nonstd(void) }, }; - static gint *ett[] = { + static int *ett[] = { &ett_nonstd, }; |