Fix a warning on Windows.

svn path=/trunk/; revision=46674
This commit is contained in:
Michael Tüxen 2012-12-21 14:38:00 +00:00
parent 2440176cab
commit 3039785ecb
1 changed files with 1 additions and 1 deletions

View File

@ -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)) {