aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/ethercat/packet-ioraw.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/ethercat/packet-ioraw.h')
-rw-r--r--plugins/ethercat/packet-ioraw.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/ethercat/packet-ioraw.h b/plugins/ethercat/packet-ioraw.h
index b67e0f2055..fbbc1ceafe 100644
--- a/plugins/ethercat/packet-ioraw.h
+++ b/plugins/ethercat/packet-ioraw.h
@@ -30,6 +30,6 @@ typedef struct _IoRawParser
{
guint32 head;
} IoRawParserHDR, *PIoRawParserHDR;
-#define IoRawParserHDR_Len sizeof(IoRawParserHDR)
+#define IoRawParserHDR_Len (int)sizeof(IoRawParserHDR)
#endif /* _PACKET_IORAW_H_*/