aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/pcap-common.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2011-04-22 03:27:40 +0000
committerGuy Harris <guy@alum.mit.edu>2011-04-22 03:27:40 +0000
commitf7390f0ea90f1571e0601e392fc90af31ab70079 (patch)
treef8bc9074ecce6ca39a0acf9c7f33129287f648a9 /wiretap/pcap-common.c
parent38bfb185aa9ebb7f783c045c36e5b9bfc360be21 (diff)
*Properly* get rid of bogus cast.
svn path=/trunk/; revision=36791
Diffstat (limited to 'wiretap/pcap-common.c')
-rw-r--r--wiretap/pcap-common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wiretap/pcap-common.c b/wiretap/pcap-common.c
index 9f8b7ce52c..265c35b7a1 100644
--- a/wiretap/pcap-common.c
+++ b/wiretap/pcap-common.c
@@ -1284,7 +1284,7 @@ pcap_read_erf_exheader(FILE_T fh, union wtap_pseudo_header *pseudo_header,
return FALSE;
}
type = erf_exhdr[0];
- erf_exhdr_sw = pntohll(erf_exhdr[0]);
+ erf_exhdr_sw = pntohll(erf_exhdr);
if (i < max)
memcpy(&pseudo_header->erf.ehdr_list[i].ehdr, &erf_exhdr_sw, sizeof(erf_exhdr_sw));
*psize += 8;