summaryrefslogtreecommitdiffstats
path: root/src/isi-commgr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/isi-commgr.c')
-rw-r--r--src/isi-commgr.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/isi-commgr.c b/src/isi-commgr.c
index 0f7da89..dd3d26a 100644
--- a/src/isi-commgr.c
+++ b/src/isi-commgr.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-commgr.h"
@@ -39,8 +40,8 @@ static const value_string isi_commgr_id[] = {
static dissector_handle_t isi_commgr_handle;
static void dissect_isi_commgr(tvbuff_t *tvb, packet_info *pinfo, proto_item *tree);
-static guint32 hf_isi_commgr_cmd = -1;
-static guint32 hf_isi_commgr_resource_count = -1;
+static gint32 hf_isi_commgr_cmd = -1;
+static gint32 hf_isi_commgr_resource_count = -1;
void proto_reg_handoff_isi_commgr(void) {
@@ -77,7 +78,7 @@ static void _show_resources(tvbuff_t *tvb, proto_tree *tree) {
static void dissect_isi_commgr(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");