forked from osmocom/wireshark
Squelch a compiler warning.
Change-Id: I5b383c967c465882819ac449fbd54915bc692687 Reviewed-on: https://code.wireshark.org/review/4674 Reviewed-by: Guy Harris <guy@alum.mit.edu>
This commit is contained in:
parent
a5d35a25a1
commit
7d28a56076
|
@ -420,7 +420,7 @@ capsa_read_packet(wtap *wth, FILE_T fh, struct wtap_pkthdr *phdr,
|
|||
phdr->presence_flags = WTAP_HAS_CAP_LEN|WTAP_HAS_TS;
|
||||
timestamp -= TIME_FIXUP_CONSTANT;
|
||||
phdr->ts.secs = timestamp / 1000000;
|
||||
phdr->ts.nsecs = (timestamp % 1000000)*1000;
|
||||
phdr->ts.nsecs = ((int)(timestamp % 1000000))*1000;
|
||||
phdr->caplen = packet_size;
|
||||
phdr->len = orig_size;
|
||||
|
||||
|
|
Loading…
Reference in New Issue