[Winpcap-users] Re: [error]'pcap_dump' : cannot convert parameter
1 from 'struct pcap_dumper *' to 'unsigned char *'
joe kibz
chikabanga2005 at yahoo.com
Mon May 15 07:57:16 GMT 2006
It worked , i was wondering though won't a typecast from struct to char* result in MASSIVE data loss ?
joe
Guy Harris <guy at alum.mit.edu> wrote: joe kibz wrote:
> the one error
> cannot convert parameter 1 from 'struct pcap_dumper *' to
> 'unsigned char *'
What happens if you explicitly cast the argument to "unsigned char *"?
pcap_dump((unsigned char *)dumpfile, header, pkt_data);
_______________________________________________
Winpcap-users mailing list
Winpcap-users at winpcap.org
https://www.winpcap.org/mailman/listinfo/winpcap-users
---------------------------------
Yahoo! Messenger with Voice. PC-to-Phone calls for ridiculously low rates.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winpcap.org/pipermail/winpcap-users/attachments/20060515/626a4f14/attachment.html
More information about the Winpcap-users
mailing list