10189 fdbuffer: cast between incompatible function types

Review Request #1349 - Created Jan. 9, 2019 and submitted

Information
Toomas Soome
illumos-gate
10189
02a39ea...
Reviewers
general
../../common/fs/fdbuffer.c: In function 'fdb_iosetup':
../../common/fs/fdbuffer.c:411:28: error: cast between incompatible function types from 'void (*)(buf_t *)' {aka 'void (*)(struct buf *)'} to 'int (*)()' [-Werror=cast-function-type]
      (b_flags & B_ASYNC) ? (int (*)())fdb_iodone : NULL,
                            ^
cc1: all warnings being treated as errors

  
Andy Fiddaman
Gergő Mihály Doma
Toomas Soome
Review request changed

Status: Closed (submitted)

Loading...