Wireshark-commits: [Wireshark-commits] master 1eda133: MATE: fix compilation with gcc 8
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 02 May 2018 21:04:54 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=1eda133c36466e9d37778b0891b8d8ef2a13827a
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

1eda133 by Pascal Quantin (pascal.quantin@xxxxxxxxx):

    MATE: fix compilation with gcc 8
    
    mate_runtime.c:816:35: error: cast between incompatible function types from ‘void (*)(void *)’ to ‘void (*)(void *, void *)’ [-Werror=cast-function-type]
    mate_parser.l:401:40: error: cast between incompatible function types from ‘void (*)(mate_config_frame *)’ {aka ‘void (*)(struct _mate_config_frame *)’} to ‘void (*)(void *, void *)’ [-Werror=cast-function-type]
    
    Change-Id: I90fbed9c52f6fe43958a0ff11b21f0fe4c23c41a
    Reviewed-on: https://code.wireshark.org/review/27267
    Petri-Dish: Guy Harris <guy@xxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  c514ad1   Qt: fix compilation with gcc 8
    adds  1eda133   MATE: fix compilation with gcc 8


Summary of changes:
 plugins/epan/mate/mate_parser.l  | 7 ++++++-
 plugins/epan/mate/mate_runtime.c | 7 ++++++-
 2 files changed, 12 insertions(+), 2 deletions(-)