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

___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <[email protected]>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:[email protected]?subject=unsubscribe

Reply via email to