Wireshark-commits: [Wireshark-commits] master f50ff01: Squelch 64-bit-to-32-bit warnings by just ca

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sun, 13 Sep 2015 20:28:17 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=f50ff0149e32158b11413715acaeef77478d3fd9
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

f50ff01 by Guy Harris (guy@xxxxxxxxxxxx):

    Squelch 64-bit-to-32-bit warnings by just casting to int.
    
    Those lengths had better fit in an int if they're added to packet offsets.
    
    (BTW, gsize is the spawn of Satan; it should never be used except when
    you're dealing with GLib.  It *should* have just been another name for
    size_t, but it's 32 bits on 64-bit Windows, which means it's narrower
    than size_t, which causes us some pain with g_snprintf().)
    
    Change-Id: Icd8f0632242303dbea0d80e0dad45b317097daaa
    Reviewed-on: https://code.wireshark.org/review/10516
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  eed56ee   bootp: simplify avaya parameter parsing
    adds  f50ff01   Squelch 64-bit-to-32-bit warnings by just casting to int.


Summary of changes:
 epan/dissectors/packet-bootp.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)