diff options
author | Guy Harris <guy@alum.mit.edu> | 2014-10-14 00:07:16 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2014-10-14 07:07:42 +0000 |
commit | 7d28a560761c8349ddb54ec7dd37a93dea7e1f63 (patch) | |
tree | 4a434ff42f247ae01db0d495f1d7432f11b91f70 | |
parent | a5d35a25a189fd9e35b63b24f3f8dbdca6c7dbb1 (diff) |
Squelch a compiler warning.
Change-Id: I5b383c967c465882819ac449fbd54915bc692687
Reviewed-on: https://code.wireshark.org/review/4674
Reviewed-by: Guy Harris <guy@alum.mit.edu>
-rw-r--r-- | wiretap/capsa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wiretap/capsa.c b/wiretap/capsa.c index c0e8e9a08f..d02983ef0d 100644 --- a/wiretap/capsa.c +++ b/wiretap/capsa.c @@ -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; |