Wireshark-commits: [Wireshark-commits] master e3c3d7a: gtk: fix 32-bit build

Date Prev · Date Next · Thread Prev · Thread Next
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Thu, 1 Sep 2016 08:21:15 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=e3c3d7a4afeeb8bc0519717e6c85c038fb99170a
Submitter: Peter Wu (peter@xxxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

e3c3d7a by Peter Wu (peter@xxxxxxxxxxxxx):

    gtk: fix 32-bit build
    
    32-bit glib before 2.31.2 expand GUINT_TO_POINTER(x) as (gpointer)x.
    add explicit cast since curr_layer_num is 8 bits. Fixes
    v1.99.10rc0-179-g1d7bcb2.
    
    Storing a 64-bit integer into a 32-bit pointer makes the compiler
    complain. Add explicit cast. Fixes v1.99.1rc0-76-ged0b19b.
    
    Change-Id: I75fdf17882a0f5ddce7d3b3e74b1bf80ff6cd4ae
    Reviewed-on: https://code.wireshark.org/review/17417
    Petri-Dish: Peter Wu <peter@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Peter Wu <peter@xxxxxxxxxxxxx>
    

Actions performed:

    from  717215d   E.212: update list to Operational Bulletin No. 1106 (15.VIII.2016)
    adds  e3c3d7a   gtk: fix 32-bit build


Summary of changes:
 ui/gtk/decode_as_dlg.c |    2 +-
 ui/gtk/packet_panes.c  |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)