• Pascal Quantin's avatar
    extcap.c: fix compilation with gcc 8 · 116a1292
    Pascal Quantin authored
    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@alum.mit.edu>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: 's avatarGuy Harris <guy@alum.mit.edu>
    (cherry picked from commit ac1c1c3e58532079daff6b807b7e12d5ba17199d)
    Reviewed-on: https://code.wireshark.org/review/27288
    116a1292