|Main Archive Page > Month Archives > wireshark-dev archives|
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
Sent via: Wireshark-dev mailing list <firstname.lastname@example.org>