Cast enum to int to avoid warning.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22991 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -1252,7 +1252,7 @@ krb5_sname_to_principal (krb5_context context,
|
||||
|
||||
if(type != KRB5_NT_SRV_HST && type != KRB5_NT_UNKNOWN) {
|
||||
krb5_set_error_string (context, "unsupported name type %d",
|
||||
type);
|
||||
(int)type);
|
||||
return KRB5_SNAME_UNSUPP_NAMETYPE;
|
||||
}
|
||||
if(hostname == NULL) {
|
||||
|
Reference in New Issue
Block a user