diff options
Diffstat (limited to 'epan/dissectors/packet-vicp.c')
-rw-r--r-- | epan/dissectors/packet-vicp.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/epan/dissectors/packet-vicp.c b/epan/dissectors/packet-vicp.c index 001a5d74..7440baeb 100644 --- a/epan/dissectors/packet-vicp.c +++ b/epan/dissectors/packet-vicp.c @@ -17,14 +17,14 @@ #include <epan/ptvcursor.h> /* registration object IDs */ -static int proto_vicp = -1; -static int hf_vicp_operation = -1; -static int hf_vicp_version = -1; -static int hf_vicp_sequence = -1; -static int hf_vicp_unused = -1; -static int hf_vicp_length = -1; -static int hf_vicp_data = -1; -static gint ett_vicp = -1; +static int proto_vicp; +static int hf_vicp_operation; +static int hf_vicp_version; +static int hf_vicp_sequence; +static int hf_vicp_unused; +static int hf_vicp_length; +static int hf_vicp_data; +static int ett_vicp; #define VICP_PORT 1861 @@ -39,7 +39,7 @@ static int dissect_vicp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, voi proto_tree *vicp_tree; ptvcursor_t* cursor; - guint len; + unsigned len; if (tvb_reported_length_remaining(tvb, 0) < 8) { @@ -93,7 +93,7 @@ void proto_register_vicp(void) } }; - static gint *ett[] = + static int *ett[] = { &ett_vicp }; |