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 almost 10 years ago. Updated almost 10 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 #1

Updated by Rich Lowe almost 10 years ago

  • Parent task set to #1450
Actions #2

Updated by Rich Lowe almost 10 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 70 to 100

Resolved in r13628 commit:03b37ed99c1b

Actions

Also available in: Atom PDF