aboutsummaryrefslogtreecommitdiffstats
path: root/text2pcap.c
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2013-06-25 13:31:19 +0000
committerGerald Combs <gerald@wireshark.org>2013-06-25 13:31:19 +0000
commit03febfc8193290c6b3e4fd21663243288ab7fd40 (patch)
tree0a15b9a898f38bd531c40309d502aba1d117b3e1 /text2pcap.c
parenta75e89c787a7e6e202290ff215258648402b63da (diff)
From Dirk Jagdmann: Use a guint32 for IPv4 addresses. Fixes compilation
on OS X + Cmake. svn path=/trunk/; revision=50139
Diffstat (limited to 'text2pcap.c')
-rw-r--r--text2pcap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/text2pcap.c b/text2pcap.c
index 1aab81a84e..85044ec431 100644
--- a/text2pcap.c
+++ b/text2pcap.c
@@ -181,8 +181,8 @@ static int hdr_ipv6 = FALSE;
static long hdr_ip_proto = 0;
/* Destination and source addresses for IP header */
-static unsigned long hdr_ip_dest_addr = 0;
-static unsigned long hdr_ip_src_addr = 0;
+static guint32 hdr_ip_dest_addr = 0;
+static guint32 hdr_ip_src_addr = 0;
static guint8 hdr_ipv6_dest_addr[16] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
static guint8 hdr_ipv6_src_addr[16] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
static guint8 NO_IPv6_ADDRESS[16] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};