Wireshark-commits: [Wireshark-commits] master-2.2 50c51c8: ipv6: fix build with old 32-bit glib hea
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 31 Aug 2016 06:15:52 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=50c51c8a32d76a8629cd562c6d0e57653379d64a
Submitter: João Valverde (j@xxxxxx)
Changed: branch: master-2.2
Repository: wireshark

Commits:

50c51c8 by Peter Wu (peter@xxxxxxxxxxxxx):

    ipv6: fix build with old 32-bit glib headers
    
    glib versions before 2.31.2 expand GUINT_TO_POINTER(x) as (gpointer)x
    instead of (gpointer)(guint)x, resulting in these errors:
    
        packet-ipv6.c:2129: error: cast to pointer from integer of different size
        packet-ipv6.c:2185: error: cast to pointer from integer of different size
    
    Change-Id: I1b25060ed329ce05e4f1ab75e32a56feda8e3435
    Reviewed-on: https://code.wireshark.org/review/17401
    Reviewed-by: Michael Mann <mmann78@xxxxxxxxxxxx>
    Petri-Dish: Michael Mann <mmann78@xxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: João Valverde <j@xxxxxx>
    

Actions performed:

    from  8b7444e   Use "ecatf" as the protocol name, to parallel everything else.
    adds  50c51c8   ipv6: fix build with old 32-bit glib headers


Summary of changes:
 epan/dissectors/packet-ipv6.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)