Actions
Bug #2179
closedBug #1450: Illumos should be buildable with GCC4
gss should be more careful with pointer casts
Start date:
2012-02-24
Due date:
% Done:
100%
Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:
Description
GSS is irritating.
They have a gss_cred_id_t and a gssd_cred_id_t, the sentinel for no credential, GSS_C_NO_CREDENTIAL is a gss_cred_id_t, which is a typed NULL pointer.
gssd_cred_id_t is an integer, so when 64bit we're technically truncating a NULL, and sadly GCC doesn't care about the "a NULL part", and warns.
Actions