diff options
author | Guy Harris <guy@alum.mit.edu> | 2007-12-05 10:24:37 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2007-12-05 10:24:37 +0000 |
commit | a46aade74658522d7b1d16c3380d48cc16810b6d (patch) | |
tree | b0060cb374a9befce4292158f0331f05ea5ab84d /merge.c | |
parent | d31730a21bbf0b5b4190cb521dca13ed486b9736 (diff) | |
download | wireshark-a46aade74658522d7b1d16c3380d48cc16810b6d.tar.gz wireshark-a46aade74658522d7b1d16c3380d48cc16810b6d.tar.bz2 wireshark-a46aade74658522d7b1d16c3380d48cc16810b6d.zip |
The first component of a "wtap_nstime" is a "time_t", which could be an
"int" or a "long"; initialize it with LONG_MAX cast to "time_t".
The second argument is an "int"; initialize it with INT_MAX.
svn path=/trunk/; revision=23764
Diffstat (limited to 'merge.c')
-rw-r--r-- | merge.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -157,7 +157,7 @@ merge_read_packet(int in_file_count, merge_in_file_t in_files[], int *err, { int i; int ei = -1; - struct wtap_nstime tv = {LONG_MAX, LONG_MAX}; + struct wtap_nstime tv = {(time_t)LONG_MAX, INT_MAX}; struct wtap_pkthdr *phdr; /* |