aboutsummaryrefslogtreecommitdiffstats
path: root/text2pcap.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2013-03-20 05:59:22 +0000
committerAnders Broman <anders.broman@ericsson.com>2013-03-20 05:59:22 +0000
commitf92bd64966291dc3c7968d6a1dd7a11f06ba80b3 (patch)
tree3b9ebb5cf5975442a710da59b07d801a02d46637 /text2pcap.c
parent0df5a9390d41149dfc87440d72e7669ba96748ec (diff)
[-Wmissing-prototypes]
Use explicit casts. svn path=/trunk/; revision=48439
Diffstat (limited to 'text2pcap.c')
-rw-r--r--text2pcap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/text2pcap.c b/text2pcap.c
index 14bc419118..ce531cf71e 100644
--- a/text2pcap.c
+++ b/text2pcap.c
@@ -440,7 +440,7 @@ static guint16
in_checksum (void *buf, guint32 count)
{
guint32 sum = 0;
- guint16 *addr = buf;
+ guint16 *addr = (guint16 *)buf;
while (count > 1) {
/* This is the inner loop */