aboutsummaryrefslogtreecommitdiffstats
path: root/text2pcap.c
diff options
context:
space:
mode:
authorMichael Tüxen <tuexen@fh-muenster.de>2012-12-21 14:38:00 +0000
committerMichael Tüxen <tuexen@fh-muenster.de>2012-12-21 14:38:00 +0000
commit3039785ecb2c4a91a3529a95842ca1acb44d140b (patch)
tree0cd13fe66e5b111693c1ef96f18862c33b15435e /text2pcap.c
parent2440176cabced62995e30373cbd48615a91f0137 (diff)
Fix a warning on Windows.
svn path=/trunk/; revision=46674
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 f80061a140..22f10ddba3 100644
--- a/text2pcap.c
+++ b/text2pcap.c
@@ -718,7 +718,7 @@ write_current_packet (void)
length = 60;
}
if (!libpcap_write_packet(output_file,
- ts_sec, ts_usec,
+ (guint32)ts_sec, ts_usec,
length, length,
packet_buf,
&bytes_written, &err)) {