From c3a54036dcf251f6895510f9d4a1821ecae14b74 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Daniel=20Kou=C5=99il?= Date: Mon, 6 Aug 2007 14:48:08 +0000 Subject: [PATCH] reverted a typo and added typecasting to make the compiler happy --- org.glite.security.gss/src/glite_gss.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.glite.security.gss/src/glite_gss.c b/org.glite.security.gss/src/glite_gss.c index 722eca2..79f3d97 100644 --- a/org.glite.security.gss/src/glite_gss.c +++ b/org.glite.security.gss/src/glite_gss.c @@ -974,7 +974,7 @@ edg_wll_gss_close(edg_wll_GssConnection *con, struct timeval *timeout) /* XXX if timeout is NULL use value of 120 secs */ if (con->context != GSS_C_NO_CONTEXT) { - gss_delete_sec_context(&min_stat, con->context, GSS_C_NO_BUFFER); + gss_delete_sec_context(&min_stat, (gss_ctx_id_t *)&con->context, GSS_C_NO_BUFFER); /* XXX send the buffer (if any) to the peer. GSSAPI specs doesn't * recommend sending it, though */ -- 1.8.2.3