Update of /home/cvs/gsasl/lib/gssapi
In directory dopio:/tmp/cvs-serv10588

Modified Files:
        server.c 
Log Message:
Fix cast error.


--- /home/cvs/gsasl/lib/gssapi/server.c 2005/06/25 09:56:55     1.13
+++ /home/cvs/gsasl/lib/gssapi/server.c 2005/10/07 14:44:23     1.14
@@ -1,5 +1,5 @@
 /* server.c --- SASL mechanism GSSAPI as defined in RFC 2222, server side.
- * Copyright (C) 2002, 2003, 2004  Simon Josefsson
+ * Copyright (C) 2002, 2003, 2004, 2005  Simon Josefsson
  *
  * This file is part of GNU SASL Library.
  *
@@ -240,7 +240,7 @@
        }
 
       gsasl_property_set_raw (sctx, GSASL_AUTHZID,
-                             bufdesc2.value + 4, bufdesc2.length - 4);
+                             (char*)bufdesc2.value + 4, bufdesc2.length - 4);
 
       maj_stat = gss_display_name (&min_stat, state->client,
                                   &client_name, &mech_type);



_______________________________________________
Gsasl-commit mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gsasl-commit

Reply via email to