Wireshark-commits: [Wireshark-commits] master-2.4 8b1ea70: extcap-base.c: fix compilation with gcc
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=8b1ea70512a0a54f6207b23c275e17f072c07c1e
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master-2.4
Repository: wireshark
Commits:
8b1ea70 by Pascal Quantin (pascal.quantin@xxxxxxxxx):
extcap-base.c: fix compilation with gcc 8
extcap-base.c:293:43: error: cast between incompatible function types from ‘void (*)(void *)’ to ‘void (*)(void *, void *)’ [-Werror=cast-function-type]
extcap-base.c:302:45: error: cast between incompatible function types from ‘void (*)(void *)’ to ‘void (*)(void *, void *)’ [-Werror=cast-function-type]
extcap-base.c:321:42: error: cast between incompatible function types from ‘void (*)(void *)’ to ‘void (*)(void *, void *)’ [-Werror=cast-function-type]
Change-Id: Ifd9151d04412c5e29636dc14c57a327cc12d33f3
Reviewed-on: https://code.wireshark.org/review/27265
Petri-Dish: Guy Harris <guy@xxxxxxxxxxxx>
Reviewed-by: Dario Lombardo <lomato@xxxxxxxxx>
Tested-by: Petri Dish Buildbot
Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
(cherry picked from commit acdda66ce8a2cb6974a63e34f41223b1d77ac785)
Reviewed-on: https://code.wireshark.org/review/27291
Actions performed:
from a38f417 extcap.c: fix compilation with gcc 8
adds 8b1ea70 extcap-base.c: fix compilation with gcc 8
Summary of changes:
extcap/extcap-base.c | 12 +++++-------
1 file changed, 5 insertions(+), 7 deletions(-)