aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/ethercat/packet-ecatmb.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/ethercat/packet-ecatmb.c')
-rw-r--r--plugins/ethercat/packet-ecatmb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/ethercat/packet-ecatmb.c b/plugins/ethercat/packet-ecatmb.c
index 3623838afc..7c87c28840 100644
--- a/plugins/ethercat/packet-ecatmb.c
+++ b/plugins/ethercat/packet-ecatmb.c
@@ -1312,7 +1312,7 @@ static void dissect_ecat_mailbox(tvbuff_t *tvb, packet_info *pinfo, proto_tree *
char szText[200];
int nMax = sizeof(szText)-1;
- guint mailbox_length = tvb_reported_length(tvb);
+ gint mailbox_length = tvb_reported_length(tvb);
if( mailbox_length >= ETHERCAT_MBOX_HEADER_LEN )
{