diff options
Diffstat (limited to '')
-rw-r--r-- | epan/dissectors/packet-chargen.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/epan/dissectors/packet-chargen.c b/epan/dissectors/packet-chargen.c index 71e3d3d7..3da18edf 100644 --- a/epan/dissectors/packet-chargen.c +++ b/epan/dissectors/packet-chargen.c @@ -23,11 +23,11 @@ void proto_reg_handoff_chargen(void); static dissector_handle_t chargen_handle; -static int proto_chargen = -1; +static int proto_chargen; -static int hf_chargen_data = -1; +static int hf_chargen_data; -static gint ett_chargen = -1; +static int ett_chargen; /* dissect_chargen - dissects chargen packet data * tvb - tvbuff for packet data (IN) @@ -39,8 +39,8 @@ dissect_chargen(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* disse { proto_tree* chargen_tree; proto_item* ti; - guint8* data; - guint32 len; + uint8_t* data; + uint32_t len; col_set_str(pinfo->cinfo, COL_PROTOCOL, "Chargen"); col_set_str(pinfo->cinfo, COL_INFO, "Chargen"); @@ -67,7 +67,7 @@ proto_register_chargen(void) NULL, 0, NULL, HFILL }} }; - static gint *ett[] = { + static int *ett[] = { &ett_chargen, }; |