Toomas Soome got a fish trophy!

11728 exacctsys: cast between incompatible function types

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

Information
Toomas Soome
illumos-gate
11728
16d6db3...
Reviewers
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

  
Andy Fiddaman
Toomas Soome
Review request changed

Status: Closed (submitted)

Loading...