Wireshark-commits: [Wireshark-commits] rev 21623: /trunk/epan/dissectors/ /trunk/epan/dissectors/:

Date: Mon, 30 Apr 2007 08:33:48 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=21623

User: guy
Date: 2007/04/30 08:33 AM

Log:
 Thou shalt not squelch compiler complaints about an assignment
 discarding a qualifier by explicitly casting away the qualifier;
 constness should persist, so that attempts to, for example, modify
 something you got with tvb_get_ptr() get complained about (as we don't,
 and won't, guarantee that you will get correct behavior if you do that).
 Just make the pointer to which a const pointer is being assigned const
 itself.
 
 Yet *AGAIN* work around GArray's brokenness of having its data pointer
 be a guint8 * rather than a void *.

Directory: /trunk/epan/dissectors/
  Changes    Path                Action
  +22 -3     packet-rmt-lct.c    Modified
  +1 -1      packet-rmt-lct.h    Modified