git.samba.org
/
metze
/
wireshark
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d31730a
)
The first component of a "wtap_nstime" is a "time_t", which could be an
author
Guy Harris
<guy@alum.mit.edu>
Wed, 5 Dec 2007 10:24:37 +0000
(10:24 -0000)
committer
Guy Harris
<guy@alum.mit.edu>
Wed, 5 Dec 2007 10:24:37 +0000
(10:24 -0000)
"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
merge.c
patch
|
blob
|
history
diff --git
a/merge.c
b/merge.c
index 8fd1c63af097a46bc1534ef5698afff30176de55..e8b79191e99239883bffeb795939afd0a992f1f1 100644
(file)
--- a/
merge.c
+++ b/
merge.c
@@
-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;
/*