Wireshark-commits: [Wireshark-commits] master-2.6 3c887b8: prefs.c: fix compilation with gcc 8
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=3c887b80332a332c9e76f5b5e382f548935a76d9
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master-2.6
Repository: wireshark
Commits:
3c887b8 by Pascal Quantin (pascal.quantin@xxxxxxxxx):
prefs.c: fix compilation with gcc 8
error: cast between incompatible function types from ‘void (*)(void *)’ to ‘void (*)(void *, void *)’ [-Werror=cast-function-type]
Change-Id: Id9f791c78e45d2373c3c1ce57059ef1e973a2fb1
hange-Id: I25597a730efcd580a1dd327d4fc38ab940a8b4d8
Reviewed-on: https://code.wireshark.org/review/27263
Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
(cherry picked from commit 092564a336118606e3ee4f41e27ec440aa32b88f)
Reviewed-on: https://code.wireshark.org/review/27298
Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
Actions performed:
from 8d63752 extcap_parser.c: fix compilation with gcc 8
adds 3c887b8 prefs.c: fix compilation with gcc 8
Summary of changes:
epan/prefs.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)