summaryrefslogtreecommitdiffstats
path: root/src/plugins/igmp/igmp.h
diff options
context:
space:
mode:
authorNeale Ranns <neale.ranns@cisco.com>2018-03-21 16:34:28 -0700
committerDamjan Marion <dmarion.lists@gmail.com>2018-03-23 03:55:54 +0000
commit5237c77cdd8041f173ceefe4919cd7e9e1130805 (patch)
tree8477a8d31f4b3ac09ec92edba7ff27cb7eb2aade /src/plugins/igmp/igmp.h
parenta005e7f0ef1564cab8db1a148091fd43d2d5af48 (diff)
IGMP: coverity fixes and remove checks for scapy IGMPv3
Change-Id: Ic2eddc803f9ba8215e37388a686004830211cf6f Signed-off-by: Neale Ranns <neale.ranns@cisco.com>
Diffstat (limited to 'src/plugins/igmp/igmp.h')
-rw-r--r--src/plugins/igmp/igmp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/igmp/igmp.h b/src/plugins/igmp/igmp.h
index c98cbd1dc0b..0dcf11f64f7 100644
--- a/src/plugins/igmp/igmp.h
+++ b/src/plugins/igmp/igmp.h
@@ -36,7 +36,7 @@
#define DBG(...)
#endif /* IGMP_DBG */
-#define group_ptr(p, l) ((igmp_membership_group_v3_t *)((void*)p + l))
+#define group_ptr(p, l) ((igmp_membership_group_v3_t *)((char*)p + l))
enum
{