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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Changed the signedness qop_state argument from int * to gss_qop_t *

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

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)
-- 
1.7.11.7

--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux