diff options
author | Michael Mann <mmann78@netscape.net> | 2013-12-08 01:35:39 +0000 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2013-12-08 01:35:39 +0000 |
commit | 20e0d853cea1a7fe038a326ab895d03e19c1511f (patch) | |
tree | d37beeb57a8f3b13dcd43b97216015cddcedac55 | |
parent | e1c994f55f4efcc4c73130cc5855165726d01cfb (diff) |
Fix signed/insigned mismatch in ErlDP dissector. Bug 9525 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9525)
From Peter Lemenkov
svn path=/trunk/; revision=53841
-rw-r--r-- | epan/dissectors/packet-erldp.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/epan/dissectors/packet-erldp.c b/epan/dissectors/packet-erldp.c index 51ccea1bed..5b686397bd 100644 --- a/epan/dissectors/packet-erldp.c +++ b/epan/dissectors/packet-erldp.c @@ -591,19 +591,19 @@ void proto_register_erldp(void) { FT_BYTES, BASE_NONE, NULL, 0x0, NULL, HFILL}}, { &hf_erldp_internal_segment_index, { "InternalSegmentIndex", "erldp.internal_segment_index", - FT_INT8, BASE_DEC, NULL, 0x0, + FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL}}, { &hf_erldp_atom_length, { "Length", "erldp.atom_length", - FT_INT8, BASE_DEC, NULL, 0x0, + FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL}}, { &hf_erldp_atom_length2, { "Length", "erldp.atom_length", - FT_INT16, BASE_DEC, NULL, 0x0, + FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL}}, { &hf_erldp_atom_text, { "AtomText", "erldp.atom_text", FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL}}, { &hf_erldp_atom_cache_ref, { "AtomCacheReferenceIndex", "erldp.atom_cache_ref", - FT_INT8, BASE_DEC, NULL, 0x0, + FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL}}, { &hf_erldp_small_int_ext, { "Int", "erldp.small_int_ext", FT_INT8, BASE_DEC, NULL, 0x0, @@ -621,10 +621,10 @@ void proto_register_erldp(void) { FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL}}, { &hf_erldp_list_ext_len, { "Len", "erldp.list_ext.len", - FT_INT32, BASE_DEC, NULL, 0x0, + FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL}}, { &hf_erldp_new_ref_ext_len, { "Len", "erldp.new_ref_ext.len", - FT_INT16, BASE_DEC, NULL, 0x0, + FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL}}, { &hf_erldp_new_ref_ext_creation, { "Creation", "erldp.new_ref_ext.creation", FT_UINT8, BASE_DEC, NULL, 0x0, |