summaryrefslogtreecommitdiffstats
path: root/src/isi-light.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/isi-light.c')
-rw-r--r--src/isi-light.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/isi-light.c b/src/isi-light.c
index c0bd9b6..9b001e9 100644
--- a/src/isi-light.c
+++ b/src/isi-light.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-light.h"
@@ -92,7 +93,7 @@ static const value_string isi_light_id[] = {
static dissector_handle_t isi_light_handle;
static void dissect_isi_light(tvbuff_t *tvb, packet_info *pinfo, proto_item *tree);
-static guint32 hf_isi_light_cmd = -1;
+static gint32 hf_isi_light_cmd = -1;
void proto_reg_handoff_isi_light(void) {
@@ -118,7 +119,7 @@ void proto_register_isi_light(void) {
static void dissect_isi_light(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");