Wireshark-dev: Re: [Wireshark-dev] passing argument 4 of 'pcap_compile_nopcap' discards qualifi
From: Sake Blok <sake@xxxxxxxxxx>
Date: Sun, 3 Oct 2010 21:29:07 +0200
On 3 okt 2010, at 20:02, Guy Harris wrote:
> On Oct 3, 2010, at 5:16 AM, Sake Blok wrote:
> 
>> Or can I just use a "(char *)" cast? That however would still defeat the purpose of the "const" declaration in the first place would it not?
> 
> Yes, but, in this particular case, you can, as indicated, trust pcap_compile()/pcap_compile_nopcap() not to try to modify the string.  You should probably put a comment in about that.

Done in SVN 34353

Sake