Wireshark-commits: [Wireshark-commits] master-2.6 dd2a9d4: packet.c: fix compilation with gcc 8

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sun, 22 Jul 2018 05:01:12 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=dd2a9d484d09f6a7594c38551754dce18f54c4c8
Submitter: Anders Broman (a.broman58@xxxxxxxxx)
Changed: branch: master-2.6
Repository: wireshark

Commits:

dd2a9d4 by Vasil Velichkov (vvvelichkov@xxxxxxxxx):

    packet.c: fix compilation with gcc 8
    
    error: cast between incompatible function types from ‘void (*)(void *)’ to ‘void (*)(void *, void *)’ [-Werror=cast-function-type]
      g_slist_foreach(*list, (GFunc)g_free, NULL);
                             ^
    
    Change-Id: Iff833bf5c197959c8decb62d6ce794c6d0415fb7
    Reviewed-on: https://code.wireshark.org/review/28750
    Petri-Dish: Anders Broman <a.broman58@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  33e0ced   ISAKMP: Incorrect presentation of NETMASK for INTERNAL_IP4_SUBNET Config Attribute
    adds  dd2a9d4   packet.c: fix compilation with gcc 8


Summary of changes:
 epan/packet.c | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)