commit | c3c6b4c905abc40d7c9c2ca8fad5252cb1057301 | [log] [tgz] |
---|---|---|
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | Mon May 28 11:28:57 2018 +0300 |
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | Mon May 28 11:28:57 2018 +0300 |
tree | bfa62aba1b39ef3953dc882604dceee3da80ca26 | |
parent | 332695078487a91376d8dd5ab9f8121118ab63b7 [diff] |
shared/io-ell: Fix compiler error with GCC 8.0 This fixes the following error: src/shared/io-ell.c: In function ‘io_set_disconnect_handler’: src/shared/io-ell.c:117:7: error: cast between incompatible function types from ‘io_callback_func_t’ {aka ‘_Bool (*)(struct io *, void *)’} to ‘void (*)(struct l_io *, void *)’ [-Werror=cast-function-type] (l_io_disconnect_cb_t) callback, ^