10189 fdbuffer: cast between incompatible function types

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

tsoome
illumos-gate
10189
02a39ea...
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


citrus
  1. Ship It!
  2. 
      
domag02
  1. Ship It!
  2. 
      
tsoome
Review request changed

Status: Closed (submitted)

Loading...