Wireshark-commits: [Wireshark-commits] master 2a740bd: Squash casting-away-constness warnings.

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sun, 6 Jul 2014 11:15:21 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=2a740bd4d510a4eee983db05ec9566867d48a906
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

2a740bd by Guy Harris (guy@xxxxxxxxxxxx):

    Squash casting-away-constness warnings.
    
    BYTE2WORD() doesn't modify what its argument points to, so make that
    argument a const unsigned char *.
    
    This lets us get rid of casts that cast away constness.
    
    Change-Id: I44a58bd3d75fc77a022b7e8f7fa9b43990bcf81c
    Reviewed-on: https://code.wireshark.org/review/2876
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  afa8f21   make-dissectors-reg: optimize by factoring out the loops
    adds  2a740bd   Squash casting-away-constness warnings.


Summary of changes:
 wsutil/sober128.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)