10191 strsubs: cast between incompatible function types

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

tsoome
illumos-gate
10191
be7aae5...
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


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

Status: Closed (submitted)

Loading...