summaryrefslogtreecommitdiffstats
path: root/src/isi-call.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/isi-call.c')
-rw-r--r--src/isi-call.c15
1 files changed, 8 insertions, 7 deletions
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 <glib.h>
#include <epan/prefs.h>
#include <epan/packet.h>
+#include <epan/expert.h>
#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");