Fix Win64 compilation problems in the plugins directory.
[obnox/wireshark/wip.git] / plugins / ethercat / packet-ecatmb.c
index 3623838afc5e20bb8a111818515b894a73440d2b..7c87c28840e3423309e436c641e307a00336822d 100644 (file)
@@ -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 )
    {