diff mbox

[5/5] Fixed warnings in src/g_unseal.c and src/g_verify.c

Message ID 1351102124-24036-6-git-send-email-steved@redhat.com (mailing list archive)
State New, archived
Headers show

Commit Message

Steve Dickson Oct. 24, 2012, 6:08 p.m. UTC
Changed the signedness qop_state argument from int * to gss_qop_t *

Signed-off-by: Steve Dickson <steved@redhat.com>
---
 src/g_unseal.c | 2 +-
 src/g_verify.c | 2 +-
 src/mglueP.h   | 4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)
diff mbox

Patch

diff --git a/src/g_unseal.c b/src/g_unseal.c
index 5f5ccf0..a1c78e3 100644
--- a/src/g_unseal.c
+++ b/src/g_unseal.c
@@ -41,7 +41,7 @@  gss_ctx_id_t		context_handle;
 gss_buffer_t		input_message_buffer;
 gss_buffer_t		output_message_buffer;
 int *			conf_state;
-int *			qop_state;
+gss_qop_t *		qop_state;
 
 {
     OM_uint32		status;
diff --git a/src/g_verify.c b/src/g_verify.c
index 4439405..6c734bc 100644
--- a/src/g_verify.c
+++ b/src/g_verify.c
@@ -74,7 +74,7 @@  int *			qop_state;
 				      ctx->internal_ctx_id,
 				      message_buffer,
 				      token_buffer,
-				      qop_state);
+				      (gss_qop_t *)qop_state);
 	else
 	    status = GSS_S_BAD_BINDINGS;
 
diff --git a/src/mglueP.h b/src/mglueP.h
index da3eaed..78eabdd 100644
--- a/src/mglueP.h
+++ b/src/mglueP.h
@@ -171,7 +171,7 @@  typedef struct gss_config {
 		    gss_buffer_t,	/* input_message_buffer */
 		    gss_buffer_t,	/* output_message_buffer */
 		    int*,		/* conf_state */
-		    int*		/* qop_state */
+		    gss_qop_t *	/* qop_state */
 		    );
     OM_uint32       (*gss_display_status)
 	(
@@ -316,7 +316,7 @@  typedef struct gss_config {
 		    gss_ctx_id_t,	/* context_handle */
 		    gss_buffer_t,	/* message_buffer */
 		    gss_buffer_t,	/* token_buffer */
-		    int*		/* qop_state */
+		    gss_qop_t  *	/* qop_state */
 		    );
 
     OM_uint32       (*gss_export_lucid_sec_context)