Wireshark-commits: [Wireshark-commits] master-2.6 93c4bee: MATE: fix compilation with gcc 8
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=93c4bee59a6af4d89371e89434522ca717213c52
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master-2.6
Repository: wireshark
Commits:
93c4bee 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>
(cherry picked from commit 1eda133c36466e9d37778b0891b8d8ef2a13827a)
Reviewed-on: https://code.wireshark.org/review/27283
Actions performed:
from bb86ef7 TWAMP: fix compilation with gcc 8
adds 93c4bee 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(-)