aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-sctp.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-sctp.c')
-rw-r--r--epan/dissectors/packet-sctp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-sctp.c b/epan/dissectors/packet-sctp.c
index 0f8912990c..3506e0a45b 100644
--- a/epan/dissectors/packet-sctp.c
+++ b/epan/dissectors/packet-sctp.c
@@ -590,7 +590,7 @@ make_address_key(guint32 spt, guint32 dpt, address *addr)
k[0].length = 1; k[0].key = ep_memdup(&spt,sizeof(spt));
k[1].length = 1; k[1].key = ep_memdup(&dpt,sizeof(dpt));
- k[2].length = 1; k[2].key = &(addr->type);
+ k[2].length = 1; k[2].key = (guint32*)&(addr->type);
k[3].length = 1; k[3].key = (guint32*)&(addr->len);
k[4].length = ((addr->len/4)+1);