URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=a38f417a9bc7cc4d042738aa09bfa716c4e30390
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master-2.4
Repository: wireshark
Commits:
a38f417 by Pascal Quantin (pascal.quantin@xxxxxxxxx):
extcap.c: fix compilation with gcc 8
extcap.c:228:37: error: cast between incompatible function types from ‘void (*)(iface_toolbar_value *)’ {aka ‘void (*)(struct _iface_toolbar_value *)’} to ‘void (*)(void *, void *)’ [-Werror=cast-function-type]
extcap.c:246:39: error: cast between incompatible function types from ‘void (*)(iface_toolbar_control *)’ {aka ‘void (*)(struct _iface_toolbar_control *)’} to ‘void (*)(void *, void *)’ [-Werror=cast-function-type]
extcap.c:521:32: error: cast between incompatible function types from ‘void (*)(void *)’ to ‘void (*)(void *, void *)’ [-Werror=cast-function-type]
extcap.c:1440:35: error: cast between incompatible function types from ‘void (*)(void *)’ to ‘void (*)(void *, void *)’ [-Werror=cast-function-type]
Change-Id: I2422e9b59c288907882c9ffd57cbae12011f7832
Reviewed-on: https://code.wireshark.org/review/27264
Petri-Dish: Guy Harris <guy@xxxxxxxxxxxx>
Tested-by: Petri Dish Buildbot
Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
(cherry picked from commit ac1c1c3e58532079daff6b807b7e12d5ba17199d)
Reviewed-on: https://code.wireshark.org/review/27289
Actions performed:
from d0711d2 GTP: fix compilation with gcc 8
adds a38f417 extcap.c: fix compilation with gcc 8
Summary of changes:
extcap.c | 16 +++++++++-------
1 file changed, 9 insertions(+), 7 deletions(-)