summaryrefslogtreecommitdiff
path: root/text2pcap.c
diff options
context:
space:
mode:
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)) {