diff options
Diffstat (limited to 'epan/dissectors/packet-dcerpc-messenger.c')
-rw-r--r-- | epan/dissectors/packet-dcerpc-messenger.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/epan/dissectors/packet-dcerpc-messenger.c b/epan/dissectors/packet-dcerpc-messenger.c index a00626d8..c79d1278 100644 --- a/epan/dissectors/packet-dcerpc-messenger.c +++ b/epan/dissectors/packet-dcerpc-messenger.c @@ -19,14 +19,14 @@ void proto_register_dcerpc_messenger(void); void proto_reg_handoff_dcerpc_messenger(void); -static int proto_dcerpc_messenger = -1; -static int hf_messenger_opnum = -1; -static int hf_messenger_rc = -1; -static int hf_messenger_server = -1; -static int hf_messenger_client = -1; -static int hf_messenger_message = -1; +static int proto_dcerpc_messenger; +static int hf_messenger_opnum; +static int hf_messenger_rc; +static int hf_messenger_server; +static int hf_messenger_client; +static int hf_messenger_message; -static gint ett_dcerpc_messenger = -1; +static int ett_dcerpc_messenger; /* Windows messenger service listens on two endpoints: @@ -39,7 +39,7 @@ static e_guid_t uuid_dcerpc_messenger = { { 0xa9, 0xb2, 0x00, 0xc0, 0x4f, 0xb6, 0xe6, 0xfc} }; -static guint16 ver_dcerpc_messenger = 1; +static uint16_t ver_dcerpc_messenger = 1; @@ -50,7 +50,7 @@ static guint16 ver_dcerpc_messenger = 1; */ static int messenger_dissect_send_message_rqst(tvbuff_t *tvb, int offset, packet_info *pinfo, - proto_tree *tree, dcerpc_info *di, guint8 *drep) + proto_tree *tree, dcerpc_info *di, uint8_t *drep) { offset = dissect_ndr_pointer(tvb, offset, pinfo, tree, di, drep, dissect_ndr_char_cvstring, NDR_POINTER_REF, @@ -67,7 +67,7 @@ messenger_dissect_send_message_rqst(tvbuff_t *tvb, int offset, packet_info *pinf } static int messenger_dissect_send_message_reply(tvbuff_t *tvb, int offset, packet_info *pinfo, - proto_tree *tree, dcerpc_info *di, guint8 *drep) + proto_tree *tree, dcerpc_info *di, uint8_t *drep) { offset = dissect_ntstatus(tvb, offset, pinfo, tree, di, drep, hf_messenger_rc, NULL); @@ -77,7 +77,7 @@ messenger_dissect_send_message_reply(tvbuff_t *tvb, int offset, packet_info *pin -static dcerpc_sub_dissector dcerpc_messenger_dissectors[] = { +static const dcerpc_sub_dissector dcerpc_messenger_dissectors[] = { {0, "NetrSendMessage", messenger_dissect_send_message_rqst, messenger_dissect_send_message_reply }, @@ -110,7 +110,7 @@ proto_register_dcerpc_messenger(void) }; - static gint *ett[] = { + static int *ett[] = { &ett_dcerpc_messenger }; |