r15853: started the process of removing the warnings now that
[jelmer/samba4-debian.git] / source / auth / gensec / gensec_gssapi.c
index 070e83e97c73d86294e6801fd5b91a68472ebe6c..270ae3770333453ac1527e74c949ec43cb4c413e 100644 (file)
@@ -95,9 +95,8 @@ static char *gssapi_error_string(TALLOC_CTX *mem_ctx,
 }
 
 
-static int gensec_gssapi_destory(void *ptr) 
+static int gensec_gssapi_destory(struct gensec_gssapi_state *gensec_gssapi_state)
 {
-       struct gensec_gssapi_state *gensec_gssapi_state = ptr;
        OM_uint32 maj_stat, min_stat;
        
        if (gensec_gssapi_state->delegated_cred_handle != GSS_C_NO_CREDENTIAL) {