10071 genunix: loadable_syscall: cast between incompatible function types

Review Request #1244 - Created Oct. 16, 2018 and submitted

Information
Toomas Soome
illumos-gate
10071
2d08c57...
Reviewers
general
../../intel/ia32/os/syscall.c: In function 'loadable_syscall':
../../intel/ia32/os/syscall.c:1208:14: error: cast between incompatible function types from 'int (*)()' to 'int64_t (*)()' {aka 'long int (*)()'} [-Werror=cast-function-type]
    sy_call = (int64_t (*)())callp->sy_call;
              ^
../../intel/ia32/os/syscall.c:1222:14: error: cast between incompatible function types from 'int (*)()' to 'int64_t (*)()' {aka 'long int (*)()'} [-Werror=cast-function-type]
    sy_call = (int64_t (*)())callp->sy_call;
              ^
cc1: all warnings being treated as errors

  

Issues

  • 0
  • 6
  • 0
  • 6
Description From Last Updated
Andrew Stormont
Toomas Soome
Robert Mustacchi
Gergő Mihály Doma
Toomas Soome
Gergő Mihály Doma
Toomas Soome
Review request changed

Status: Closed (submitted)

Loading...