10191 strsubs: cast between incompatible function types

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

Information
Toomas Soome
illumos-gate
10191
be7aae5...
Reviewers
general
../../common/os/strsubr.c:378:2: error: cast between incompatible function types from 'void (*)(queue_t *, mblk_t *)' {aka 'void (*)(struct queue *, struct msgb *)'} to 'int (*)()' [-Werror=cast-function-type]
  (int (*)())putnext,
  ^
../../common/os/strsubr.c:388:2: error: cast between incompatible function types from 'void (*)(queue_t *, mblk_t *)' {aka 'void (*)(struct queue *, struct msgb *)'} to 'int (*)()' [-Werror=cast-function-type]
  (int (*)()) pass_wput,
  ^
cc1: all warnings being treated as errors

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

Status: Closed (submitted)

Loading...