Wireshark-commits: [Wireshark-commits] master-2.4 ec5cdd6: prefs.c: fix compilation with gcc 8
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=ec5cdd6f119f151d6fbeea4ce35b5dbff9cd5a9d
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master-2.4
Repository: wireshark
Commits:
ec5cdd6 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/27299
Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
Actions performed:
from f3c188d extcap_parser.c: fix compilation with gcc 8
adds ec5cdd6 prefs.c: fix compilation with gcc 8
Summary of changes:
epan/prefs.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)