Wireshark-commits: [Wireshark-commits] master f61723d: Squelch a warning from MSVC.
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Thu, 21 Jun 2018 18:20:19 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=f61723d885e23db83cbaf326d1e286f8ee2d1a82
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

f61723d by Guy Harris (guy@xxxxxxxxxxxx):

    Squelch a warning from MSVC.
    
    Cast the result of a floating-point calculation to guint32; presumably
    it will have no fractional part or we're deliberately discarding the
    fractional part, and will never be greater than 2^32-1, so tell the
    compiler we mean to discard the fractional part and have no need to
    worry about the integral part being too large.
    
    Change-Id: I432df46b59fe3192cd0a804d3d1db1f95983abe2
    Reviewed-on: https://code.wireshark.org/review/28367
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  67fe426   rtps: Fixed min_length in rtps_data dissection
    adds  f61723d   Squelch a warning from MSVC.


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