Lukas Slebodnik <lslebodn(a)redhat.com> writes:
BTW there is a warning in current master.
CC src/mechglue/proxymech_la-gpp_display_status.lo
src/mechglue/gpp_init_sec_context.c: In function ‘gssi_init_sec_context’:
src/mechglue/gpp_init_sec_context.c:159:40: warning: passing argument 3 of
‘gppint_get_def_creds’ from incompatible pointer type [-Wincompatible-pointer-types]
GSS_C_NO_NAME,
^~~~~~~~~~~~~
In file included from src/mechglue/gpp_init_sec_context.c:3:0:
src/mechglue/gss_plugin.h:116:11: note: expected ‘struct gpp_name_handle *’ but argument
is of type ‘struct gss_name_struct *’
OM_uint32 gppint_get_def_creds(OM_uint32 *minor_status,
^~~~~~~~~~~~~~~~~~~~
Is it intentional?
It is not:
https://pagure.io/gssproxy/pull-request/31
However, my compiler doesn't warn about it. The two types in question
are related, which I expect is how it came about.
Thanks!