aboutsummaryrefslogtreecommitdiffstats
path: root/text2pcap.c
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2009-04-16 04:05:39 +0000
committerGerald Combs <gerald@wireshark.org>2009-04-16 04:05:39 +0000
commite648060f0f307b2df23902338fa5d22c4d490465 (patch)
tree1f4158ed7e68052c732725d2535039b9523e38de /text2pcap.c
parent17f0d877faff64832b2a93f24d21b873fe59919e (diff)
Fix the last(?) of the Win64 compilation problems.
svn path=/trunk/; revision=28065
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 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