Project

General

Profile

Actions

Bug #2179

closed

Bug #1450: Illumos should be buildable with GCC4

gss should be more careful with pointer casts

Added by Rich Lowe over 9 years ago. Updated over 9 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
kernel
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

Also available in: Atom PDF