10536 st: cast between incompatible function types

Review Request #1556 - Created March 12, 2019 and submitted

Information
Toomas Soome
illumos-gate
10536
05d6d17...
Reviewers
general
../../common/io/scsi/targets/st.c: In function 'st_start':
../../common/io/scsi/targets/st.c:6493:16: error: cast between incompatible function types from 'int (*)(char *)' to 'void (*)()' [-Werror=cast-function-type]
     func fnc = (func)st_runout;
                ^
cc1: all warnings being treated as errors

  
Andy Fiddaman
Rob Johnston
Toomas Soome
Review request changed

Status: Closed (submitted)

Loading...