9565 ctf: cast between incompatible function types

Review Request #1094 - Created May 30, 2018 and submitted

Information
Toomas Soome
illumos-gate
9565
49a6f60...
Reviewers
general
../tdata.c: In function 'tdata_free':
../tdata.c:394:31: error: cast between incompatible function types from 'int (*)(tdesc_t *, void *)' {aka 'int (*)(struct tdesc *, void *)'} to 'void (*)()' [-Werror=cast-function-type]
  hash_free(td->td_layouthash, (void (*)())tdesc_free_cb, NULL);
                               ^
cc1: all warnings being treated as errors

  
Yuri Pankov
Yuri Pankov
Andrew Stormont
John Levon
Toomas Soome
Andrew Stormont
Toomas Soome
Toomas Soome
Review request changed

Status: Closed (submitted)

Loading...