10298 pcmcia: cast between incompatible function types

Review Request #1391 — Created Jan. 27, 2019 and submitted

tsoome
illumos-gate
10298
2d650d8...
general
../../common/pcmcia/cs/cs_stubs.c: In function 'csx_register_cardservices':
../../common/pcmcia/cs/cs_stubs.c:157:18: error: cast between incompatible function types from 'int (*)(void)' to 'int32_t (*)(int32_t,  ...)' {aka 'int (*)(int,  ...)'} [-Werror=cast-function-type]
   cardservices = (csfunction_t *)cs_no_carservices;
                  ^


seeemef@mac.com
  1. Ship It!
  2. 
      
tsoome
andy_js
  1. Ship It!
  2. 
      
tsoome
Review request changed

Status: Closed (submitted)

Loading...