ehlo,
clang complains about remoing cant qualifier in casting
src/sss_client/pam_sss.c:1461:73:
error: cast from 'int **' to 'const void **' must have all
intermediate pointers const qualified to be safe [-Werror,-Wcast-qual]
pam_get_data(pamh, "pam_sss:password_expired_flag", (const void **) &exp_data);
'int **' should not be casted to 'const void **'
The const must not be removed
There aren't warnings with following castings.
'const int **' - 'const void **'
'int **' - 'void **'
BTW you can see the same kind warning with icc
patch is attached.
LS