10190 aphysio: cast between incompatible function types

Review Request #1350 - Created Jan. 8, 2019 and submitted

Information
Toomas Soome
illumos-gate
10190
2f2b3e4...
Reviewers
general
../../common/os/aio_subr.c: In function 'aphysio':
../../common/os/aio_subr.c:134:18: error: cast between incompatible function types from 'void (*)(struct buf *)' to 'int (*)()' [-Werror=cast-function-type]
   bp->b_iodone = (int (*)()) aio_done;
                  ^
cc1: all warnings being treated as errors
*** Error code 1

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

Status: Closed (submitted)

Loading...