From e648060f0f307b2df23902338fa5d22c4d490465 Mon Sep 17 00:00:00 2001 From: Gerald Combs Date: Thu, 16 Apr 2009 04:05:39 +0000 Subject: Fix the last(?) of the Win64 compilation problems. svn path=/trunk/; revision=28065 --- text2pcap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'text2pcap.c') diff --git a/text2pcap.c b/text2pcap.c index 0dc78694c1..fbcaa68071 100644 --- a/text2pcap.c +++ b/text2pcap.c @@ -721,7 +721,7 @@ append_to_preamble(char *str) if (packet_preamble_len + toklen > PACKET_PREAMBLE_MAX_LEN) return; /* no room to add the token to the preamble */ g_strlcpy(&packet_preamble[packet_preamble_len], str, PACKET_PREAMBLE_MAX_LEN); - packet_preamble_len += toklen; + packet_preamble_len += (int) toklen; if (debug >= 2) { char *c; char xs[PACKET_PREAMBLE_MAX_LEN]; @@ -810,7 +810,7 @@ parse_preamble (void) * 10^-6 seconds, we multiply by * 10^(6-N). */ - subseclen = p - subsecs; + subseclen = (int) (p - subsecs); if (subseclen > 6) { /* * *More* than 6 digits; 6-N is -- cgit v1.2.3