11731 kaio: cast between incompatible function types

Review Request #2335 — Created Sept. 20, 2019 and submitted

tsoome
illumos-gate
11731
3d2d341...
general
../../common/os/aio.c:142:2: error: cast between incompatible function types from 'int64_t (*)(long int,  long int,  long int,  long int,  long int,  long int)' {aka 'long int (*)(long int,  long int,  long int,  long int,  long int,  long int)'} to 'int (*)()' [-Werror=cast-function-type]
  (int (*)())kaioc
  ^
cc1: all warnings being treated as errors


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

Status: Closed (submitted)

Loading...