Wireshark-commits: [Wireshark-commits] master 0d471c3: GTK: fix a V610 warning reported by PVS-Stud
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Tue, 9 Jun 2015 20:21:01 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=0d471c3d882a20ad41a6d52bd0e7b210b2f92334
Submitter: Pascal Quantin (pascal.quantin@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

0d471c3 by Pascal Quantin (pascal.quantin@xxxxxxxxx):

    GTK: fix a V610 warning reported by PVS-Studio
    
    Unspecified behavior. Check the shift operator '>>'. The left operand '(- 1)' is negative.
    
    Change-Id: I508d451736830a150b8839aa6353ee4c7bcf848f
    Reviewed-on: https://code.wireshark.org/review/8859
    Reviewed-by: Pascal Quantin <pascal.quantin@xxxxxxxxx>
    

Actions performed:

    from  4e60e8f   [MSVC 2015] Use intptr_t for "pointer stored as int" to make MSVC happy.
    adds  0d471c3   GTK: fix a V610 warning reported by PVS-Studio


Summary of changes:
 ui/gtk/rtp_analysis.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)