*Properly* get rid of bogus cast.

svn path=/trunk/; revision=36791
This commit is contained in:
Guy Harris 2011-04-22 03:27:40 +00:00
parent 38bfb185aa
commit f7390f0ea9
1 changed files with 1 additions and 1 deletions

View File

@ -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;