diff options
author | Anders Broman <anders.broman@ericsson.com> | 2013-03-20 05:59:22 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2013-03-20 05:59:22 +0000 |
commit | f92bd64966291dc3c7968d6a1dd7a11f06ba80b3 (patch) | |
tree | 3b9ebb5cf5975442a710da59b07d801a02d46637 /text2pcap.c | |
parent | 0df5a9390d41149dfc87440d72e7669ba96748ec (diff) | |
download | wireshark-f92bd64966291dc3c7968d6a1dd7a11f06ba80b3.tar.gz wireshark-f92bd64966291dc3c7968d6a1dd7a11f06ba80b3.tar.bz2 wireshark-f92bd64966291dc3c7968d6a1dd7a11f06ba80b3.zip |
[-Wmissing-prototypes]
Use explicit casts.
svn path=/trunk/; revision=48439
Diffstat (limited to 'text2pcap.c')
-rw-r--r-- | text2pcap.c | 2 |
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 */ |