10162 Sun/Solaris/Kstat: cast between incompatible function types

Review Request #1332 — Created Dec. 25, 2018 and submitted

tsoome
illumos-gate
10162
e519808...
general
Kstat.xs: In function 'XS_Sun__Solaris__Kstat_update':
Kstat.xs:1386:29: error: cast between incompatible function types from 'int (*)(HV *, int)' {aka 'int (*)(struct hv *, int)'} to 'int (*)(HV *, void *)' {aka 'int (*)(struct hv *, void *)'} [-Werror=cast-function-type]
   if (! apply_to_ties(self, (ATTCb_t)read_kstats, (void *)TRUE)) {
                             ^
cc1: all warnings being treated as errors


seeemef@mac.com
  1. Ship It!
  2. 
      
domag02
  1. Ship It!
  2. 
      
tsoome
Review request changed

Status: Closed (submitted)

Loading...