10157 sgs/libld: cast between incompatible function types

Review Request #1328 — Created Dec. 23, 2018 and submitted

tsoome
illumos-gate
10157
fa3a4b1...
general
../common/support.c: In function 'ld64_sup_loadso':
../common/support.c:94:15: error: cast between incompatible function types from 'void (*)()' to 'uint_t (*)()' {aka 'unsigned int (*)()'} [-Werror=cast-function-type]
    version = ((uint_t(*)())fptr)(LD_SUP_VCURRENT);
               ^
cc1: all warnings being treated as errors


domag02
  1. Ship It!
  2. 
      
alp
  1. Ship It!
  2. 
      
tsoome
Review request changed

Status: Closed (submitted)

Loading...