10490 ptm: cast between incompatible function types

Review Request #1543 - Created March 2, 2019 and submitted

Information
Toomas Soome
illumos-gate
10490
db25025...
Reviewers
general
../../common/io/ptm.c:168:2: error: cast between incompatible function types from 'void (*)(queue_t *)' {aka 'void (*)(struct queue *)'} to 'int (*)()' [-Werror=cast-function-type]
  (int (*)()) ptmrsrv,
  ^
../../common/io/ptm.c:177: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 (*)()) ptmwput,
  ^
../../common/io/ptm.c:178:2: error: cast between incompatible function types from 'void (*)(queue_t *)' {aka 'void (*)(struct queue *)'} to 'int (*)()' [-Werror=cast-function-type]
  (int (*)()) ptmwsrv,
  ^
cc1: all warnings being treated as errors

  

Issues

  • 0
  • 2
  • 0
  • 2
Description From Last Updated
Gergő Mihály Doma
Toomas Soome
Andy Fiddaman
C Fraire
Toomas Soome
Review request changed

Status: Closed (submitted)

Loading...