Wireshark-commits: [Wireshark-commits] master f5bd19e: Add casts to reassure the compiler that we k

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sat, 12 Sep 2015 02:29:00 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=f5bd19e5cdc3d50e90a44b41e6d8d89f75bc4601
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

f5bd19e by Guy Harris (guy@xxxxxxxxxxxx):

    Add casts to reassure the compiler that we know what we're doing.
    
    I.e., the calculations (thanks to the masking etc.) will result in
    values that fit into a guint, so there's no loss of data in converting
    to a guint.
    
    Change-Id: I3dacce93ab87c625a45d22090b27774b9a63ba21
    Reviewed-on: https://code.wireshark.org/review/10496
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  500f196   Conversions of void * to some other type require explicit casts.
    adds  f5bd19e   Add casts to reassure the compiler that we know what we're doing.


Summary of changes:
 epan/dissectors/packet-scsi.c |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)