URL: 
https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=f5bd19e5cdc3d50e90a44b41e6d8d89f75bc4601
Submitter: Guy Harris ([email protected])
Changed: branch: master
Repository: wireshark

Commits:

f5bd19e by Guy Harris ([email protected]):

    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 <[email protected]>
    

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(-)
___________________________________________________________________________
Sent via:    Wireshark-commits mailing list <[email protected]>
Archives:    https://www.wireshark.org/lists/wireshark-commits
Unsubscribe: https://wireshark.org/mailman/options/wireshark-commits
             mailto:[email protected]?subject=unsubscribe

Reply via email to