10162 Sun/Solaris/Kstat: cast between incompatible function types
Review Request #1332 — Created Dec. 25, 2018 and submitted
Information | |
---|---|
tsoome | |
illumos-gate | |
10162 | |
e519808... | |
Reviewers | |
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