Wireshark-commits: [Wireshark-commits] master-2.2 7d1d41a: Remove a cast that now causes rather tha

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Thu, 2 Mar 2017 23:04:18 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=7d1d41ae8b689b34d5145a70332e32a7cab5b536
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master-2.2
Repository: wireshark

Commits:

7d1d41a by Guy Harris (guy@xxxxxxxxxxxx):

    Remove a cast that now causes rather than squelching warnings.
    
    We're now comparing an unsigned with an expression made mostly of
    unsigned, so there's no need to cast the expression to long to squelch
    signed vs. unsigned warnings.
    
    Change-Id: I3b8c6f6faf26a9c252eb55d9e69fb298a3ad4c3b
    Reviewed-on: https://code.wireshark.org/review/20347
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    (cherry picked from commit 4bd3c4d44ddcdf8e98fdf08a425e3a68e9b18395)
    Reviewed-on: https://code.wireshark.org/review/20348
    

Actions performed:

    from  7018427   Make sure nspr_getv20recordsize() returns an unsigned value.
    adds  7d1d41a   Remove a cast that now causes rather than squelching warnings.


Summary of changes:
 wiretap/k12.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)