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:
6552d5d
)
More P64 changes.
author
Guy Harris
<guy@alum.mit.edu>
Sat, 7 Mar 2009 05:18:59 +0000
(
05:18
-0000)
committer
Guy Harris
<guy@alum.mit.edu>
Sat, 7 Mar 2009 05:18:59 +0000
(
05:18
-0000)
svn path=/trunk/; revision=27641
wiretap/i4btrace.c
patch
|
blob
|
history
diff --git
a/wiretap/i4btrace.c
b/wiretap/i4btrace.c
index 02a9b0db47fe7fac328c69360f10d8a154928adb..1b2bc080954189df02ec62c239006aa31c9e5644 100644
(file)
--- a/
wiretap/i4btrace.c
+++ b/
wiretap/i4btrace.c
@@
-120,7
+120,7
@@
static gboolean i4btrace_read(wtap *wth, int *err, gchar **err_info,
{
int ret;
i4b_trace_hdr_t hdr;
- guint
16
length;
+ guint
32
length;
void *bufp;
/* Read record header. */
@@
-138,7
+138,7
@@
static gboolean i4btrace_read(wtap *wth, int *err, gchar **err_info,
hdr.length, (unsigned long)sizeof(hdr));
return FALSE;
}
- length = hdr.length - sizeof(hdr);
+ length = hdr.length -
(guint32)
sizeof(hdr);
wth->phdr.len = length;
wth->phdr.caplen = length;