Wireshark-commits: [Wireshark-commits] master dc1ab9f: Remove a casting-away-constness warning.
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 21 Feb 2018 02:17:45 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=dc1ab9f32b9bdf3135a377ebec0a0c944d577f47
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

dc1ab9f by Guy Harris (guy@xxxxxxxxxxxx):

    Remove a casting-away-constness warning.
    
    Keep the pointer to the allocated data in a non-const pointer, and free
    it using *that* pointer.
    
    Change-Id: I7d29b6768be58ed0181cd64c68ac0b7d03ec5611
    Reviewed-on: https://code.wireshark.org/review/25954
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  65aa59d   RPCoRDMA: Set an upper bound for our chunk size.
    adds  dc1ab9f   Remove a casting-away-constness warning.


Summary of changes:
 epan/oids.c | 20 ++++++++++++--------
 1 file changed, 12 insertions(+), 8 deletions(-)