10071 genunix: loadable_syscall: cast between incompatible function types

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

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

  
Loading...