Wireshark-commits: [Wireshark-commits] master 049fc49: Fix MSCV 2015RC Warning in_cksum.c(92): warn

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 8 Jun 2015 11:13:29 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=049fc494d0eb0597715553bc74cc60b901484332
Submitter: Anders Broman (a.broman58@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

049fc49 by Anders (anders.broman@xxxxxxxxxxxx):

    Fix MSCV 2015RC Warning in_cksum.c(92): warning C4311: 'type cast':
    pointer truncation from 'const guint16 *' to 'unsigned long'.
    
    
    Even if we only require GLIB 2.16 this will fix the Windows build as we do
    have a newer Glib on Windows.
    
    Change-Id: Ie0644536783e8b298de59094fec240e249c9b27f
    Reviewed-on: https://code.wireshark.org/review/8833
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  9223567   BGP: fix an infinite loop when finding an invalid length in EVPN NLRI Route Type 5 option
    adds  049fc49   Fix MSCV 2015RC Warning in_cksum.c(92): warning C4311: 'type cast': pointer truncation from 'const guint16 *' to 'unsigned long'.


Summary of changes:
 epan/in_cksum.c |    4 ++++
 1 file changed, 4 insertions(+)