Wireshark-commits: [Wireshark-commits] master-2.2 4c3f8c8: GTP: fix compilation with gcc 8

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

Commits:

4c3f8c8 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>
    (cherry picked from commit 966c5957822a974ddd4f0558db0eccbbb7afe290)
    Reviewed-on: https://code.wireshark.org/review/27275
    

Actions performed:

    from  f177008   LDSS: Fix a read overrun in dissect_ldss_transfer.
    adds  4c3f8c8   GTP: fix compilation with gcc 8


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