Wireshark-commits: [Wireshark-commits] master 092564a: prefs.c: fix compilation with gcc 8
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Thu, 03 May 2018 04:12:23 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=092564a336118606e3ee4f41e27ec440aa32b88f
Submitter: Anders Broman (a.broman58@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

092564a 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>
    

Actions performed:

    from  ec0f8e6   fix missing parentheses in 'if' statement
    adds  092564a   prefs.c: fix compilation with gcc 8


Summary of changes:
 epan/prefs.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)