summaryrefslogtreecommitdiff
path: root/src/svc_auth_gss.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/svc_auth_gss.c')
-rw-r--r--src/svc_auth_gss.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/svc_auth_gss.c b/src/svc_auth_gss.c
index 9e9ff81..54b23b1 100644
--- a/src/svc_auth_gss.c
+++ b/src/svc_auth_gss.c
@@ -121,7 +121,7 @@ svcauth_gss_import_name(char *service)
namebuf.length = strlen(service);
maj_stat = gss_import_name(&min_stat, &namebuf,
- GSS_C_NT_HOSTBASED_SERVICE, &name);
+ (gss_OID)GSS_C_NT_HOSTBASED_SERVICE, &name);
if (maj_stat != GSS_S_COMPLETE) {
log_status("gss_import_name", maj_stat, min_stat);