11789 gld: cast between incompatible function types

Review Request #2375 - Created Oct. 9, 2019 and submitted

Information
Toomas Soome
illumos-gate
11789
2589878...
Reviewers
general
../../common/io/gld.c:2904:10: error: cast between incompatible function types from 'int (*)(queue_t *, mblk_t *)' {aka 'int (*)(struct queue *, struct msgb *)'} to 'void (*)(queue_t *, mblk_t *)' {aka 'void (*)(struct queue *, struct msgb *)'} [-Werror=cast-function-type]
   send = (void (*)(queue_t *, mblk_t *))putq;
          ^
cc1: all warnings being treated as errors

  
Andy Fiddaman
Garrett D'Amore
Garrett D'Amore
Toomas Soome
Review request changed

Status: Closed (submitted)

Loading...