Fish Trophy

tsoome got a fish trophy!

11728 exacctsys: cast between incompatible function types

Review Request #2332 — Created Sept. 20, 2019 and submitted

tsoome
illumos-gate
11728
16d6db3...
general
../../common/syscall/exacctsys.c:356:2: error: cast between incompatible function types from 'long int (*)(int,  idtype_t,  id_t,  void *, size_t,  int)' {aka 'long int (*)(int,  enum idtype,  int,  void *, long unsigned int,  int)'} to 'int (*)()' [-Werror=cast-function-type]
  (int (*)())exacct
  ^
../../common/syscall/exacctsys.c:370:2: error: cast between incompatible function types from 'long int (*)(int,  idtype_t,  id_t,  void *, size_t,  int)' {aka 'long int (*)(int,  enum idtype,  int,  void *, long unsigned int,  int)'} to 'int (*)()' [-Werror=cast-function-type]
  (int (*)())exacct
  ^
cc1: all warnings being treated as errors


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

Status: Closed (submitted)

Loading...