Wireshark-commits: [Wireshark-commits] master acdda66: extcap-base.c: fix compilation with gcc 8
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=acdda66ce8a2cb6974a63e34f41223b1d77ac785
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark
Commits:
acdda66 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>
Actions performed:
from 875e34c QUIC: fix compilation with gcc 8
adds acdda66 extcap-base.c: fix compilation with gcc 8
Summary of changes:
extcap/extcap-base.c | 11 ++++-------
1 file changed, 4 insertions(+), 7 deletions(-)