From 2231eebf889d7c4192efcd121f25363b563a7993 Mon Sep 17 00:00:00 2001 From: Sebastian Reichel Date: Sun, 29 May 2011 16:17:57 +0200 Subject: fix warnings * fix signess (guint32 -> gint32) * remove some unused variables * add as needed * include handler.h in isi-packet.c --- src/isi-call.c | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'src/isi-call.c') diff --git a/src/isi-call.c b/src/isi-call.c index 45329b4..ae708dd 100644 --- a/src/isi-call.c +++ b/src/isi-call.c @@ -23,6 +23,7 @@ #include #include #include +#include #include "packet-isi.h" #include "isi-call.h" @@ -273,12 +274,12 @@ static const value_string isi_call_cause[] = { static dissector_handle_t isi_call_handle; static void dissect_isi_call(tvbuff_t *tvb, packet_info *pinfo, proto_item *tree); -static guint32 hf_isi_call_cmd = -1; -static guint32 hf_isi_call_subblock_type = -1; -static guint32 hf_isi_call_id = -1; -static guint32 hf_isi_call_status_mode = -1; -static guint32 hf_isi_call_cause_type = -1; -static guint32 hf_isi_call_cause = -1; +static gint32 hf_isi_call_cmd = -1; +static gint32 hf_isi_call_subblock_type = -1; +static gint32 hf_isi_call_id = -1; +static gint32 hf_isi_call_status_mode = -1; +static gint32 hf_isi_call_cause_type = -1; +static gint32 hf_isi_call_cause = -1; void proto_reg_handoff_isi_call(void) { @@ -417,7 +418,7 @@ static void dissect_isi_call_subblock(guint8 sptype, tvbuff_t *tvb, packet_info static void dissect_isi_call(tvbuff_t *tvb, packet_info *pinfo, proto_item *isitree) { proto_item *item = NULL; proto_tree *tree = NULL; - guint8 cmd, code; + guint8 cmd; if(isitree) { item = proto_tree_add_text(isitree, tvb, 0, -1, "Payload"); -- cgit v1.2.3