Wireshark-commits: [Wireshark-commits] master 0970872: Don't cast pointers when they're assigned to
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Tue, 12 May 2015 00:15:26 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=0970872a4cfdba0d9de913da036717ac2167297a
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

0970872 by Guy Harris (guy@xxxxxxxxxxxx):

    Don't cast pointers when they're assigned to the data field of an address.
    
    That field is just a void *, so there's no need to cast them, and at
    least one of those casts generates alignment warnings with -Wcast-align.
    
    Change-Id: I88e22a794a8c990b01e7ed8f45951a2665febbc1
    Reviewed-on: https://code.wireshark.org/review/8421
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  b55d801   Speed up display filter completion.
    adds  0970872   Don't cast pointers when they're assigned to the data field of an address.


Summary of changes:
 epan/dissectors/packet-skinny.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)