[evolution-data-server/gnome-3-18] Avoid the compile warning when initializing SPNEGO' gss_OID_desc structure



commit 99abd9baf2df12c08af5b05df516262193f19d15
Author: Tomas Popela <tpopela redhat com>
Date:   Tue Oct 20 16:00:24 2015 +0200

    Avoid the compile warning when initializing SPNEGO' gss_OID_desc structure

 camel/camel-sasl-gssapi.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/camel/camel-sasl-gssapi.c b/camel/camel-sasl-gssapi.c
index 5d88cdc..b1f919d 100644
--- a/camel/camel-sasl-gssapi.c
+++ b/camel/camel-sasl-gssapi.c
@@ -78,8 +78,8 @@ extern gss_OID gss_nt_service_name;
 
 static const char spnego_OID[] = "\x2b\x06\x01\x05\x05\x02";
 static const gss_OID_desc gss_mech_spnego = {
-       6,
-       &spnego_OID
+       6,
+       (gpointer) &spnego_OID
 };
 
 #ifndef GSS_C_OID_KRBV5_DES


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