Wireshark-commits: [Wireshark-commits] master 966c595: GTP: fix compilation with gcc 8

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 02 May 2018 17:53:50 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=966c5957822a974ddd4f0558db0eccbbb7afe290
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

966c595 by Pascal Quantin (pascal.quantin@xxxxxxxxx):

    GTP: fix compilation with gcc 8
    
    error: cast between incompatible function types from ‘void (*)(const void *, void *, void *)’ to ‘gboolean (*)(const void *, void *, void *)’ {aka ‘int (*)(const void *, void *, void *)’} [-Werror=cast-function-type]
    
    Change-Id: If93eb9a4f38b622ae5dfaf9ed1e2c3d257141105
    Reviewed-on: https://code.wireshark.org/review/27260
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  131eb55   netscreen.c: fix compilation with gcc 8
    adds  966c595   GTP: fix compilation with gcc 8


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